SComponent interface More...
import "SALOMEDS.idl";

Public Member Functions | |
| string | ComponentDataType () | 
| Gets the data type of the given SComponent.  More... | |
| boolean | ComponentIOR (out ID theID) | 
| Gets the IOR of the given component.  More... | |
| boolean | IsNull () | 
| Returns true if the SObject does not belong to any Study.  More... | |
| ID | GetID () | 
| Gets an object ID.  More... | |
| SComponent | GetFatherComponent () | 
| Acquisition of the father Component of the SObject.  More... | |
| SObject | GetFather () | 
| Acquisition of the father SObject of the SObject.  More... | |
| short | Tag () | 
| Gets the tag of a SObject.  More... | |
| short | GetLastChildTag () | 
| Returns a tag of the last child SObject (if any) of this SObject.  More... | |
| short | Depth () | 
| Gets the depth of a SObject.  More... | |
| boolean | FindSubObject (in long atag, out SObject obj) | 
| Looks for subobjects of a given SObject.  More... | |
| boolean | FindAttribute (out GenericAttribute anAttribute, in string aTypeOfAttribute) | 
| Looks for attributes of a given SObject.  More... | |
| boolean | ReferencedObject (out SObject obj) | 
| Looks for a SObject which the given SObject refers to.  More... | |
| ListOfAttributes | GetAllAttributes () | 
| Gets all attributes of a given SObject.  More... | |
| Study | GetStudy () | 
| Gets the study of a given SObject.  More... | |
| Object | GetObject () | 
| Gets the CORBA object by its own IOR attribute.  More... | |
| string | GetName () | 
| Returns the name attribute value of this SObject.  More... | |
| string | GetComment () | 
| Returns the comment attribute value of this SObject.  More... | |
| string | GetIOR () | 
| Returns the IOR attribute value of this SObject.  More... | |
| void | SetAttrString (in string name, in string value) | 
| Set an attribute value (of type string)  More... | |
| long long | GetLocalImpl (in string theHostname, in long thePID, out boolean isLocal) | 
| Private method, returns an implementation of this SObject.  More... | |
| void | Register () | 
| Increase the reference count (mark as used by another object).  More... | |
| void | UnRegister () | 
| Decrease the reference count (release by another object).  More... | |
| void | Destroy () | 
| Obsolete, left for compatibility reasons only.  More... | |
Data Fields | |
| attribute string | Name | 
| Name of the SObject.  More... | |
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.
Gets the IOR of the given component.
      
  | 
  inherited | 
Gets the depth of a SObject.
      
  | 
  inherited | 
Obsolete, left for compatibility reasons only.
Use UnRegister() instead.
      
  | 
  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.
Looks for subobjects of a given SObject.
| atag | Tag of the given SObject | 
      
  | 
  inherited | 
Gets all attributes of a given SObject.
See example17 for an example of this method usage in batchmode of SALOME application.
      
  | 
  inherited | 
Returns the comment attribute value of this SObject.
Returns empty string if there is no comment attribute.
      
  | 
  inherited | 
Acquisition of the father SObject of the SObject.
      
  | 
  inherited | 
Acquisition of the father Component of the SObject.
      
  | 
  inherited | 
Gets an object ID.
      
  | 
  inherited | 
Returns the IOR attribute value of this SObject.
Returns empty string if there is no IOR attribute.
      
  | 
  inherited | 
Returns a tag of the last child SObject (if any) of this SObject.
Returns zero if this SObject has no children.
      
  | 
  inherited | 
      
  | 
  inherited | 
Returns the name attribute value of this SObject.
Returns empty string if there is no name attribute.
      
  | 
  inherited | 
Gets the CORBA object by its own IOR attribute.
Returns nil, if can't.
      
  | 
  inherited | 
Gets the study of a given SObject.
      
  | 
  inherited | 
Returns true if the SObject does not belong to any Study.
Looks for a SObject which the given SObject refers to.
      
  | 
  inherited | 
Increase the reference count (mark as used by another object).
      
  | 
  inherited | 
Set an attribute value (of type string)
| name | the name of the attribute | 
| value | the value of the attribute | 
      
  | 
  inherited | 
Gets the tag of a SObject.
      
  | 
  inherited | 
Decrease the reference count (release by another object).
      
  | 
  inherited | 
Name of the SObject.