SALOME documentation central

SALOMEDS::AttributeSequenceOfReal Interface Reference

Attribute - sequence of real values. More...

Inheritance diagram for SALOMEDS::AttributeSequenceOfReal:

Public Member Functions

void Assign (in DoubleSeq other)
 Initialization of the attribute with initial data.
DoubleSeq CorbaSequence ()
 Returns the sequence of real numbers stored in the attribute.
void Add (in double value)
 Adds to the end of the sequence a real number.
void Remove (in long index)
 Removes a real number with a definite index from the sequence of real numbers stored in the Attribute.
void ChangeValue (in long index, in double value)
 Substitutes a given real number with a definite index for another real number.
double Value (in short index)
 Returns a given real number with a definite index in the sequence of real numbers stored in the Attribute.
long Length ()
 Returns the length of the sequence of real numbers stored in the Attribute.
void CheckLocked () raises (LockProtection)
 Method CheckLocked.
string Type ()
 Get Type.
string GetClassType ()
 Get the class type.
SObject GetSObject ()
 Get SObject.
long long GetLocalImpl (in string theHostname, in long thePID, out boolean isLocal)
 Private method, returns an implementation of this GenericAttribute.
void Register ()
 Increase the reference count (mark as used by another object).
void Destroy ()
 Decrease the reference count (release by another object).

Detailed Description

Attribute - sequence of real values.

Attribute - sequence of real values, indexing from 1 (like in CASCADE).


Member Function Documentation

void SALOMEDS::AttributeSequenceOfReal::Assign ( in DoubleSeq  other)

Initialization of the attribute with initial data.

Parameters:
otherInitially assigned sequence of real numbers.
DoubleSeq SALOMEDS::AttributeSequenceOfReal::CorbaSequence ( )

Returns the sequence of real numbers stored in the attribute.

void SALOMEDS::AttributeSequenceOfReal::Add ( in double  value)

Adds to the end of the sequence a real number.

Parameters:
valueA real number added to the sequence.

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

void SALOMEDS::AttributeSequenceOfReal::Remove ( in long  index)

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

Parameters:
indexThe index of the given real number
void SALOMEDS::AttributeSequenceOfReal::ChangeValue ( in long  index,
in double  value 
)

Substitutes a given real number with a definite index for another real number.

Parameters:
indexThe index of the given real number.
valueThe value of another real number.

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

double SALOMEDS::AttributeSequenceOfReal::Value ( in short  index)

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

Parameters:
indexThe index of the given real number.

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

long SALOMEDS::AttributeSequenceOfReal::Length ( )

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

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

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

Method CheckLocked.

Checks whether the Study is protected for modifications.

Note:

This exception is raised only outside a transaction.
string SALOMEDS::GenericAttribute::Type ( ) [inherited]

Get Type.

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

Get the class type.

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

Get SObject.

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

Private method, returns an implementation of this GenericAttribute.

Parameters:
theHostnameis a hostname of the caller
thePIDis a process ID of the caller
isLocalis 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).