Back to index

salome-kernel  6.5.0
Public Member Functions | Private Attributes
SALOMEDS_ChildIterator_i Class Reference

#include <SALOMEDS_ChildIterator_i.hxx>

Inheritance diagram for SALOMEDS_ChildIterator_i:
Inheritance graph
[legend]
Collaboration diagram for SALOMEDS_ChildIterator_i:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SALOMEDS_ChildIterator_i (const SALOMEDSImpl_ChildIterator &, CORBA::ORB_ptr)
 standard constructor
 ~SALOMEDS_ChildIterator_i ()
 standard destructor
virtual void Init ()
 Function :Init.
virtual void InitEx (CORBA::Boolean)
 Function :InitEx.
virtual CORBA::Boolean More ()
 Function : More.
virtual void Next ()
 Function : Next.
virtual SALOMEDS::SObject_ptr Value ()
 Function : Value Purpose :

Private Attributes

CORBA::ORB_var _orb
SALOMEDSImpl_ChildIterator * _it

Detailed Description

Definition at line 42 of file SALOMEDS_ChildIterator_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_ChildIterator_i::SALOMEDS_ChildIterator_i ( const SALOMEDSImpl_ChildIterator &  theImpl,
CORBA::ORB_ptr  orb 
)

standard constructor

Function : constructor Purpose :

Definition at line 39 of file SALOMEDS_ChildIterator_i.cxx.

  : _it(theImpl.GetPersistentCopy())
{
  SALOMEDS::Locker lock;
  _orb = CORBA::ORB::_duplicate(orb);
}

Here is the call graph for this function:

standard destructor

Function : destructor Purpose :

Definition at line 52 of file SALOMEDS_ChildIterator_i.cxx.

{
    if(_it) delete _it;
}

Member Function Documentation

void SALOMEDS_ChildIterator_i::Init ( ) [virtual]

Function :Init.

Definition at line 62 of file SALOMEDS_ChildIterator_i.cxx.

{ 
  SALOMEDS::Locker lock;
  _it->Init();
}

Here is the call graph for this function:

void SALOMEDS_ChildIterator_i::InitEx ( CORBA::Boolean  allLevels) [virtual]

Function :InitEx.

Definition at line 73 of file SALOMEDS_ChildIterator_i.cxx.

{ 
  SALOMEDS::Locker lock;
  _it->InitEx (allLevels);
}

Here is the call graph for this function:

CORBA::Boolean SALOMEDS_ChildIterator_i::More ( ) [virtual]

Function : More.

Definition at line 84 of file SALOMEDS_ChildIterator_i.cxx.

{
  SALOMEDS::Locker lock;
  return _it->More();
}

Here is the call graph for this function:

void SALOMEDS_ChildIterator_i::Next ( ) [virtual]

Function : Next.

Definition at line 95 of file SALOMEDS_ChildIterator_i.cxx.

{
  SALOMEDS::Locker lock;
  _it->Next();
}

Here is the call graph for this function:

SALOMEDS::SObject_ptr SALOMEDS_ChildIterator_i::Value ( ) [virtual]

Function : Value Purpose :

Definition at line 108 of file SALOMEDS_ChildIterator_i.cxx.

{
  SALOMEDS::Locker lock;
  SALOMEDSImpl_SObject aSO = _it->Value();
  SALOMEDS::SObject_var so = SALOMEDS_SObject_i::New (aSO, _orb);
  return so._retn();
}

Here is the call graph for this function:


Member Data Documentation

SALOMEDSImpl_ChildIterator* SALOMEDS_ChildIterator_i::_it [private]

Definition at line 48 of file SALOMEDS_ChildIterator_i.hxx.

CORBA::ORB_var SALOMEDS_ChildIterator_i::_orb [private]

Definition at line 47 of file SALOMEDS_ChildIterator_i.hxx.


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