SComponentIterator interface More...

Public Member Functions | |
| void | Init () |
| Activates the SComponentIterator. | |
| boolean | More () |
| Method More. | |
| void | Next () |
| Moves the iterator to the next SComponent in the list. | |
| SComponent | Value () |
| Returns the SComponent corresponding to the current SComponent found by the iterator. | |
| void | Register () |
| Increase the reference count (mark as used by another object). | |
| void | Destroy () |
| Decrease the reference count (release by another object). | |
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.
| 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).