SComponentIterator interface More...
Public Member Functions | |
void | Init () |
Activates the SComponentIterator. More... | |
boolean | More () |
Method More. More... | |
void | Next () |
Moves the iterator to the next SComponent in the list. More... | |
SComponent | Value () |
Returns the SComponent corresponding to the current SComponent found by the iterator. 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. Use UnRegister() instead. More... | |
SComponentIterator interface
This interface contains the methods allowing to iterate over all components in the list. The search is started from the first SComponent in the list.
void SALOMEDS::SComponentIterator::Init | ( | ) |
Activates the SComponentIterator.
boolean SALOMEDS::SComponentIterator::More | ( | ) |
Method More.
void SALOMEDS::SComponentIterator::Next | ( | ) |
Moves the iterator to the next SComponent in the list.
SComponent SALOMEDS::SComponentIterator::Value | ( | ) |
Returns the SComponent corresponding to the current SComponent found by the iterator.
See example1 for an example of this method usage in batchmode of SALOME application.
|
inherited |
Increase the reference count (mark as used by another object).
|
inherited |
Decrease the reference count (release by another object).
|
inherited |
Obsolete, left for compatibility reasons only. Use UnRegister() instead.