Version: 8.3.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
SALOMEDS::SComponentIterator Interface Reference

SComponentIterator interface More...

Inheritance diagram for SALOMEDS::SComponentIterator:
Inheritance graph

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...
 

Detailed Description

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.

Member Function Documentation

void SALOMEDS::SComponentIterator::Init ( )

Activates the SComponentIterator.

boolean SALOMEDS::SComponentIterator::More ( )

Method More.

Returns
True if there is one more SComponent in the list.
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::UnRegister ( )
inherited

Decrease the reference count (release by another object).

void SALOME::GenericObj::Destroy ( )
inherited

Obsolete, left for compatibility reasons only. Use UnRegister() instead.