General KERNEL Documentation     End User KERNEL Services  


SALOMEDS::AttributeTableOfReal Interface Reference

AttributeTableOfReal interface More...

import "SALOMEDS_Attributes.idl";

Inheritance diagram for SALOMEDS::AttributeTableOfReal:

Inheritance graph
Collaboration diagram for SALOMEDS::AttributeTableOfReal:

Collaboration graph

Public Member Functions

void SetTitle (in string theTitle)
string GetTitle ()
void SetRowTitle (in long theIndex, in string theTitle) raises (IncorrectIndex)
void SetRowTitles (in StringSeq theTitles) raises (IncorrectArgumentLength)
StringSeq GetRowTitles ()
void SetColumnTitle (in long theIndex, in string theTitle) raises (IncorrectIndex)
void SetColumnTitles (in StringSeq theTitles) raises (IncorrectArgumentLength)
StringSeq GetColumnTitles ()
void SetRowUnit (in long theIndex, in string theUnit) raises (IncorrectIndex)
void SetRowUnits (in StringSeq theUnits) raises (IncorrectArgumentLength)
StringSeq GetRowUnits ()
long GetNbRows ()
long GetNbColumns ()
void AddRow (in DoubleSeq theData) raises (IncorrectArgumentLength)
void SetRow (in long theRow, in DoubleSeq theData) raises (IncorrectArgumentLength, IncorrectIndex)
DoubleSeq GetRow (in long theRow) raises (IncorrectIndex)
void AddColumn (in DoubleSeq theData) raises (IncorrectArgumentLength)
void SetColumn (in long theColumn, in DoubleSeq theData) raises (IncorrectArgumentLength, IncorrectIndex)
DoubleSeq GetColumn (in long theColumn) raises (IncorrectIndex)
void PutValue (in double theValue, in long theRow, in long theColumn) raises (IncorrectIndex)
boolean HasValue (in long theRow, in long theColumn)
double GetValue (in long theRow, in long theColumn) raises (IncorrectIndex)
void SetNbColumns (in long theNbColumns)
LongSeq GetRowSetIndices (in long theRow) raises (IncorrectIndex)
boolean ReadFromFile (in SALOMEDS::TMPFile theStream)
SALOMEDS::TMPFile SaveToFile ()
void CheckLocked () raises (LockProtection)
 Method CheckLocked.
string Type ()
string GetClassType ()
SObject GetSObject ()
long GetLocalImpl (in string theHostname, in long thePID, out boolean isLocal)
void Register ()
void Destroy ()

Data Structures

exception  IncorrectArgumentLength
exception  IncorrectIndex

Detailed Description

This attribute allows to store a table of reals (indexing from 1 like in CASCADE) and string titles of this table, of each row, of each column.
See also an example of usage of these methods in batchmode of SALOME application.


Member Function Documentation

void SALOMEDS::AttributeTableOfReal::SetTitle in string  theTitle  ) 
 

Sets the title of the table.

string SALOMEDS::AttributeTableOfReal::GetTitle  ) 
 

Returns the title of the table.

void SALOMEDS::AttributeTableOfReal::SetRowTitle in long  theIndex,
in string  theTitle
raises (IncorrectIndex)
 

Sets the title of a row with a definite index.

void SALOMEDS::AttributeTableOfReal::SetRowTitles in StringSeq  theTitles  )  raises (IncorrectArgumentLength)
 

Sets the titles for all rows of the table.

StringSeq SALOMEDS::AttributeTableOfReal::GetRowTitles  ) 
 

Returns the titles of all rows of the table.

void SALOMEDS::AttributeTableOfReal::SetColumnTitle in long  theIndex,
in string  theTitle
raises (IncorrectIndex)
 

Sets the title of a column with a definite index.

void SALOMEDS::AttributeTableOfReal::SetColumnTitles in StringSeq  theTitles  )  raises (IncorrectArgumentLength)
 

Sets the titles for all columns of the table.

StringSeq SALOMEDS::AttributeTableOfReal::GetColumnTitles  ) 
 

Returns the titles of all columns of the table.

void SALOMEDS::AttributeTableOfReal::SetRowUnit in long  theIndex,
in string  theUnit
raises (IncorrectIndex)
 

Sets the unit of a row with a definite index.

void SALOMEDS::AttributeTableOfReal::SetRowUnits in StringSeq  theUnits  )  raises (IncorrectArgumentLength)
 

Sets the units for all rows of the table.

StringSeq SALOMEDS::AttributeTableOfReal::GetRowUnits  ) 
 

Returns the units of all rows of the table.

long SALOMEDS::AttributeTableOfReal::GetNbRows  ) 
 

Returns the number of rows of the table.

long SALOMEDS::AttributeTableOfReal::GetNbColumns  ) 
 

Returns the number of columns of the table.

void SALOMEDS::AttributeTableOfReal::AddRow in DoubleSeq  theData  )  raises (IncorrectArgumentLength)
 

Adds a row to the end of the table.

void SALOMEDS::AttributeTableOfReal::SetRow in long  theRow,
in DoubleSeq  theData
raises (IncorrectArgumentLength, IncorrectIndex)
 

Sets the values of all elements of the row.

DoubleSeq SALOMEDS::AttributeTableOfReal::GetRow in long  theRow  )  raises (IncorrectIndex)
 

Returns the row of the table.

void SALOMEDS::AttributeTableOfReal::AddColumn in DoubleSeq  theData  )  raises (IncorrectArgumentLength)
 

Adds a column to the end of the table.

void SALOMEDS::AttributeTableOfReal::SetColumn in long  theColumn,
in DoubleSeq  theData
raises (IncorrectArgumentLength, IncorrectIndex)
 

Sets the values of all elements of the column.

DoubleSeq SALOMEDS::AttributeTableOfReal::GetColumn in long  theColumn  )  raises (IncorrectIndex)
 

Returns the column of the table.

void SALOMEDS::AttributeTableOfReal::PutValue in double  theValue,
in long  theRow,
in long  theColumn
raises (IncorrectIndex)
 

Puts a value in the table.

Parameters:
theRow The row, where the value will be placed.
theColumn The column, where the value will be placed.

boolean SALOMEDS::AttributeTableOfReal::HasValue in long  theRow,
in long  theColumn
 

Returns True if there is a value in the table.

Parameters:
theRow The row containing the value
theColumn The column containing the value

double SALOMEDS::AttributeTableOfReal::GetValue in long  theRow,
in long  theColumn
raises (IncorrectIndex)
 

Returns the value from the table.

Parameters:
theRow The row containing the value
theColumn The column containing the value

void SALOMEDS::AttributeTableOfReal::SetNbColumns in long  theNbColumns  ) 
 

Sets the max number of colums in the table.

Note:
It'd better to set it before filling the table.

LongSeq SALOMEDS::AttributeTableOfReal::GetRowSetIndices in long  theRow  )  raises (IncorrectIndex)
 

Returns the indices of the row where the values are defined.

boolean SALOMEDS::AttributeTableOfReal::ReadFromFile in SALOMEDS::TMPFile  theStream  ) 
 

Reads a table from a file.

SALOMEDS::TMPFile SALOMEDS::AttributeTableOfReal::SaveToFile  ) 
 

Saves a table into a file.

void SALOMEDS::GenericAttribute::CheckLocked  )  raises (LockProtection) [inherited]
 

Checks whether the Study is protected for modifications.

Note:

This exception is raised only outside a transaction.

string SALOMEDS::GenericAttribute::Type  )  [inherited]
 

string SALOMEDS::GenericAttribute::GetClassType  )  [inherited]
 

SObject SALOMEDS::GenericAttribute::GetSObject  )  [inherited]
 

long SALOMEDS::GenericAttribute::GetLocalImpl in string  theHostname,
in long  thePID,
out boolean  isLocal
[inherited]
 

Private method, returns an implementation of this GenericAttribute.

Parameters:
theHostname is a hostname of the caller
thePID is a process ID of the caller
isLocal is set True if the GenericAttribute is launched locally with the caller

void SALOME::GenericObj::Register  )  [inherited]
 

Increase the reference count (mark as used by another object).

void SALOME::GenericObj::Destroy  )  [inherited]
 

Decrease the reference count (release by another object).