SALOME documentation central

SALOMEDS::ChildIterator Interface Reference

ChildIterator interface More...

Inheritance diagram for SALOMEDS::ChildIterator:

Public Member Functions

void Init ()
 Activates the ChildIterator.
void InitEx (in boolean allLevels)
 Activates the ChildIterator for all child levels.
boolean More ()
 Method More.
void Next ()
 Passes the iterator to the next level.
SObject Value ()
 Returns the SObject corresponding to the current object 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

ChildIterator interface

This interface contains methods which allow to iterate over all child levels.


Member Function Documentation

void SALOMEDS::ChildIterator::Init ( )

Activates the ChildIterator.

void SALOMEDS::ChildIterator::InitEx ( in boolean  allLevels)

Activates the ChildIterator for all child levels.

Parameters:
allLevelsIf this boolean parameter is True, the ChildIterator will be activated for all child levels.
boolean SALOMEDS::ChildIterator::More ( )

Method More.

Returns:
True if there is one more ChildIterator in the list.
void SALOMEDS::ChildIterator::Next ( )

Passes the iterator to the next level.

SObject SALOMEDS::ChildIterator::Value ( )

Returns the SObject corresponding to the current object found by the iterator.

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