Back to index

salome-gui  6.5.0
Public Member Functions | Protected Attributes
SUIT_DataObjectLevelIterator Class Reference

#include <SUIT_DataObjectIterator.h>

Inheritance diagram for SUIT_DataObjectLevelIterator:
Inheritance graph
Collaboration diagram for SUIT_DataObjectLevelIterator:
Collaboration graph

List of all members.

Public Member Functions

 SUIT_DataObjectLevelIterator (SUIT_DataObject *root, const int start, const int end=0, const bool LeftToRight=true)
virtual void operator++ ()
 Increment operator.

Protected Attributes

int myStartLevel
int myEndLevel

Detailed Description

Definition at line 68 of file SUIT_DataObjectIterator.h.

Constructor & Destructor Documentation

SUIT_DataObjectLevelIterator::SUIT_DataObjectLevelIterator ( SUIT_DataObject root,
const int  start,
const int  end = 0,
const bool  LeftToRight = true 


Definition at line 188 of file SUIT_DataObjectIterator.cxx.

: SUIT_DataObjectIterator( root, LeftToRight ? BreadthLeft : BreadthRight )
  myStartLevel = start;
  if ( end > start )
    myEndLevel = end;
    myEndLevel = myStartLevel;

  while ( current() && depth() < myStartLevel )

Here is the call graph for this function:

Member Function Documentation

void SUIT_DataObjectLevelIterator::operator++ ( ) [virtual]

Increment operator.

Definition at line 205 of file SUIT_DataObjectIterator.cxx.

  if ( myCurrent )
    if ( depth() > myEndLevel )
      myCurrent = 0;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 77 of file SUIT_DataObjectIterator.h.

Definition at line 76 of file SUIT_DataObjectIterator.h.

The documentation for this class was generated from the following files: