SALOME documentation central

SALOMEDS::SComponentIterator Interface Reference

SComponentIterator interface More...

Inheritance diagram for SALOMEDS::SComponentIterator:
Inheritance graph

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

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::Destroy (  )  [inherited]

Decrease the reference count (release by another object).


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS