General KERNEL Documentation     End User KERNEL Services  


SALOMEDS::AttributeSequenceOfInteger Interface Reference

Attribute - sequence of integer. More...

import "SALOMEDS_Attributes.idl";

Inheritance diagram for SALOMEDS::AttributeSequenceOfInteger:

Inheritance graph
Collaboration diagram for SALOMEDS::AttributeSequenceOfInteger:

Collaboration graph

Public Member Functions

void Assign (in LongSeq other)
LongSeq CorbaSequence ()
void Add (in long value)
void Remove (in long index)
void ChangeValue (in long index, in long value)
long Value (in short index)
long Length ()
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 ()

Detailed Description

Attribute - sequence of integer, indexing from 1 (like in CASCADE)


Member Function Documentation

void SALOMEDS::AttributeSequenceOfInteger::Assign in LongSeq  other  ) 
 

Initialisation of the attribute with initial data.

Parameters:
other Initially assigned sequence of integer numbers.

LongSeq SALOMEDS::AttributeSequenceOfInteger::CorbaSequence  ) 
 

Returns the sequence of integer numbers stored in the Attribute.

void SALOMEDS::AttributeSequenceOfInteger::Add in long  value  ) 
 

Adds to the end of the sequence an integer number.

Parameters:
value An integer number added to the sequence.

See also an example of this method usage in batchmode of SALOME application.

void SALOMEDS::AttributeSequenceOfInteger::Remove in long  index  ) 
 

Removes an integer number with a definite index from the sequence of integer numbers stored in the Attribute.

Parameters:
index The index of the given integer number.

See also an example of this method usage in batchmode of SALOME application.

void SALOMEDS::AttributeSequenceOfInteger::ChangeValue in long  index,
in long  value
 

Substitutes an integer number with a definite index for another integer number.

Parameters:
index The index of the given integer number.
value The value of another integer number.

long SALOMEDS::AttributeSequenceOfInteger::Value in short  index  ) 
 

Returns a given integer number with a definite index in the sequence of integer numbers stored in the Attribute.

Parameters:
index The index of the given integer number.

See also an example of this method usage in batchmode of SALOME application.

long SALOMEDS::AttributeSequenceOfInteger::Length  ) 
 

Returns the length of the sequence of integer numbers stored in the Attribute.


See also an example of this method usage in batchmode of SALOME application.

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).