SComponent interface More...

Public Member Functions | |
| string | ComponentDataType () |
| Gets the data type of the given SComponent. | |
| boolean | ComponentIOR (out ID theID) |
| Gets the IOR of the given component. | |
| ID | GetID () |
| SComponent | GetFatherComponent () |
| SObject | GetFather () |
| short | Tag () |
| short | Depth () |
| boolean | FindSubObject (in long atag, out SObject obj) |
| boolean | FindAttribute (out GenericAttribute anAttribute, in string aTypeOfAttribute) |
| boolean | ReferencedObject (out SObject obj) |
| ListOfAttributes | GetAllAttributes () |
| Study | GetStudy () |
| Object | GetObject () |
| string | GetName () |
| string | GetComment () |
| string | GetIOR () |
| long long | GetLocalImpl (in string theHostname, in long thePID, out boolean isLocal) |
| void | Register () |
| Increase the reference count (mark as used by another object). | |
| void | Destroy () |
| Decrease the reference count (release by another object). | |
Data Fields | |
| attribute string | Name |
SComponent interface
The SComponent interface establishes in the study a permanent assocition to the Components integrated into SALOME platform. The SComponent interface is a specialization of the SObject interface. It inherits the most of its methods from the SObject interface.
| string SALOMEDS::SComponent::ComponentDataType | ( | ) |
Gets the data type of the given SComponent.
| boolean SALOMEDS::SComponent::ComponentIOR | ( | out ID | theID | ) |
Gets the IOR of the given component.
| ID SALOMEDS::SObject::GetID | ( | ) | [inherited] |
Gets an object ID
| SComponent SALOMEDS::SObject::GetFatherComponent | ( | ) | [inherited] |
Acquisition of the father Component of the SObject
| SObject SALOMEDS::SObject::GetFather | ( | ) | [inherited] |
Acquisition of the father SObject of the SObject
| short SALOMEDS::SObject::Tag | ( | ) | [inherited] |
Gets the tag of a SObject
| short SALOMEDS::SObject::Depth | ( | ) | [inherited] |
Gets the depth of a SObject
| boolean SALOMEDS::SObject::FindSubObject | ( | in long | atag, | |
| out SObject | obj | |||
| ) | [inherited] |
Looks for subobjects of a given SObject.
| atag | Tag of the given SObject |
| boolean SALOMEDS::SObject::FindAttribute | ( | out GenericAttribute | anAttribute, | |
| in string | aTypeOfAttribute | |||
| ) | [inherited] |
Looks for attributes of a given SObject
| aTypeOfAttribute | String value defining the type of the required attribute of the given SObject. |
See example1 for an example of this method usage in batchmode of SALOME application.
| boolean SALOMEDS::SObject::ReferencedObject | ( | out SObject | obj | ) | [inherited] |
Looks for a SObject which the given SObject refers to.
| ListOfAttributes SALOMEDS::SObject::GetAllAttributes | ( | ) | [inherited] |
Gets all attributes of a given SObject
See example17 for an example of this method usage in batchmode of SALOME application.
| Study SALOMEDS::SObject::GetStudy | ( | ) | [inherited] |
Gets the study of a given SObject.
| Object SALOMEDS::SObject::GetObject | ( | ) | [inherited] |
Gets the CORBA object by its own IOR attribute. Returns nil, if can't.
| string SALOMEDS::SObject::GetName | ( | ) | [inherited] |
Returns the name attribute value of this SObject. Returns empty string if there is no name attribute.
| string SALOMEDS::SObject::GetComment | ( | ) | [inherited] |
Returns the comment attribute value of this SObject. Returns empty string if there is no comment attribute.
| string SALOMEDS::SObject::GetIOR | ( | ) | [inherited] |
Returns the IOR attribute value of this SObject. Returns empty string if there is no IOR attribute.
| long long SALOMEDS::SObject::GetLocalImpl | ( | in string | theHostname, | |
| in long | thePID, | |||
| out boolean | isLocal | |||
| ) | [inherited] |
| 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).
attribute string SALOMEDS::SObject::Name [inherited] |
Name of the SObject