SALOMEDS.AttributeTableOfInteger Interface Reference

AttributeTableOfInteger interface More...

import "SALOMEDS_Attributes.idl";

Inheritance diagram for SALOMEDS.AttributeTableOfInteger:

Inheritance 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 LongSeq theData) raises (IncorrectArgumentLength)
void SetRow (in long theRow, in LongSeq theData) raises (IncorrectArgumentLength, IncorrectIndex)
LongSeq GetRow (in long theRow) raises (IncorrectIndex)
void AddColumn (in LongSeq theData) raises (IncorrectArgumentLength)
void SetColumn (in long theColumn, in LongSeq theData) raises (IncorrectArgumentLength, IncorrectIndex)
LongSeq GetColumn (in long theColumn) raises (IncorrectIndex)
void PutValue (in long theValue, in long theRow, in long theColumn) raises (IncorrectIndex)
boolean HasValue (in long theRow, in long theColumn)
long 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 Store ()
void Restore (in string theData)
string Type ()
SObject GetSObject ()

Detailed Description

This attribute allows to store a table of integers (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.AttributeTableOfInteger.SetTitle in string  theTitle  ) 
 

Sets the title of the table.

string SALOMEDS.AttributeTableOfInteger.GetTitle  ) 
 

Returns the title of the table.

void SALOMEDS.AttributeTableOfInteger.SetRowTitle in long  theIndex,
in string  theTitle
raises (IncorrectIndex)
 

Sets the title of a row with a definite index.

void SALOMEDS.AttributeTableOfInteger.SetRowTitles in StringSeq  theTitles  )  raises (IncorrectArgumentLength)
 

Sets the titles for all rows of the table.

StringSeq SALOMEDS.AttributeTableOfInteger.GetRowTitles  ) 
 

Returns the titles of all rows of the table.

void SALOMEDS.AttributeTableOfInteger.SetColumnTitle in long  theIndex,
in string  theTitle
raises (IncorrectIndex)
 

Sets the title of a column with a definite index.

void SALOMEDS.AttributeTableOfInteger.SetColumnTitles in StringSeq  theTitles  )  raises (IncorrectArgumentLength)
 

Sets the titles for all columns of the table.

StringSeq SALOMEDS.AttributeTableOfInteger.GetColumnTitles  ) 
 

Returns the titles of all columns of the table.

void SALOMEDS.AttributeTableOfInteger.SetRowUnit in long  theIndex,
in string  theUnit
raises (IncorrectIndex)
 

Sets the unit of a row with a definite index.

void SALOMEDS.AttributeTableOfInteger.SetRowUnits in StringSeq  theUnits  )  raises (IncorrectArgumentLength)
 

Sets the units for all rows of the table.

StringSeq SALOMEDS.AttributeTableOfInteger.GetRowUnits  ) 
 

Returns the units of all rows of the table.

long SALOMEDS.AttributeTableOfInteger.GetNbRows  ) 
 

Returns the number of rows of the table.

long SALOMEDS.AttributeTableOfInteger.GetNbColumns  ) 
 

Returns the number of columns of the table.

void SALOMEDS.AttributeTableOfInteger.AddRow in LongSeq  theData  )  raises (IncorrectArgumentLength)
 

Adds a row to the end of the table.

Parameters:
theData A sequence of long values which will be set as elements of the added row.

void SALOMEDS.AttributeTableOfInteger.SetRow in long  theRow,
in LongSeq  theData
raises (IncorrectArgumentLength, IncorrectIndex)
 

Sets the elements of a definite row.

Parameters:
theRow The number of the row.
theData A sequence of long values which will be set as elements of this row.

LongSeq SALOMEDS.AttributeTableOfInteger.GetRow in long  theRow  )  raises (IncorrectIndex)
 

Gets the row of the table.

Parameters:
theRow The number of the row.
Returns:
A sequence of long values which are set as elements of this row.

void SALOMEDS.AttributeTableOfInteger.AddColumn in LongSeq  theData  )  raises (IncorrectArgumentLength)
 

Adds a column to the end of the table.

Parameters:
theData A sequence of long values which will be set as elements of this column.

void SALOMEDS.AttributeTableOfInteger.SetColumn in long  theColumn,
in LongSeq  theData
raises (IncorrectArgumentLength, IncorrectIndex)
 

Sets the values of all elements of the column.

Parameters:
theData A sequence of long values which will be set as elements of this column.

LongSeq SALOMEDS.AttributeTableOfInteger.GetColumn in long  theColumn  )  raises (IncorrectIndex)
 

Returns the column of the table.

void SALOMEDS.AttributeTableOfInteger.PutValue in long  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.AttributeTableOfInteger.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

long SALOMEDS.AttributeTableOfInteger.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.AttributeTableOfInteger.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.AttributeTableOfInteger.GetRowSetIndices in long  theRow  )  raises (IncorrectIndex)
 

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

boolean SALOMEDS.AttributeTableOfInteger.ReadFromFile in SALOMEDS::TMPFile  theStream  ) 
 

Reads a table from a file.

SALOMEDS::TMPFile SALOMEDS.AttributeTableOfInteger.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.Store  )  [inherited]
 

void SALOMEDS.GenericAttribute.Restore in string  theData  )  [inherited]
 

string SALOMEDS.GenericAttribute.Type  )  [inherited]
 

SObject SALOMEDS.GenericAttribute.GetSObject  )  [inherited]
 


Generated on Tue Feb 7 22:08:16 2006 for SALOME v.2.2.8 by doxygen 1.3.7