Back to index

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

#include <SALOMEDS_SComponentIterator_i.hxx>

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

List of all members.

Public Member Functions

 SALOMEDS_SComponentIterator_i (const SALOMEDSImpl_SComponentIterator &theImpl, CORBA::ORB_ptr)
 Function : constructor.
 ~SALOMEDS_SComponentIterator_i ()
 Function : destructor.
virtual void Init ()
 Function : Init.
virtual CORBA::Boolean More ()
 Function : More.
virtual void Next ()
 Function : Next.
virtual SALOMEDS::SComponent_ptr Value ()
 Function : Value.

Private Attributes

CORBA::ORB_var _orb
SALOMEDSImpl_SComponentIterator * _impl

Detailed Description

Definition at line 42 of file SALOMEDS_SComponentIterator_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_SComponentIterator_i::SALOMEDS_SComponentIterator_i ( const SALOMEDSImpl_SComponentIterator &  theImpl,
CORBA::ORB_ptr  orb 
)

Function : constructor.

Definition at line 37 of file SALOMEDS_SComponentIterator_i.cxx.

{
  _orb = CORBA::ORB::_duplicate(orb);
  _impl = theImpl.GetPersistentCopy();
}

Function : destructor.

Definition at line 49 of file SALOMEDS_SComponentIterator_i.cxx.

{
   if(_impl) delete _impl;
}

Member Function Documentation

Function : Init.

Definition at line 59 of file SALOMEDS_SComponentIterator_i.cxx.

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

Here is the call graph for this function:

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

Function : More.

Definition at line 70 of file SALOMEDS_SComponentIterator_i.cxx.

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

Here is the call graph for this function:

Function : Next.

Definition at line 80 of file SALOMEDS_SComponentIterator_i.cxx.

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

Here is the call graph for this function:

SALOMEDS::SComponent_ptr SALOMEDS_SComponentIterator_i::Value ( ) [virtual]

Function : Value.

Definition at line 92 of file SALOMEDS_SComponentIterator_i.cxx.

{
  SALOMEDS::Locker lock; 
  SALOMEDS::SComponent_var sco = SALOMEDS_SComponent_i::New (_impl->Value(), _orb);
  return sco._retn();
}

Here is the call graph for this function:


Member Data Documentation

SALOMEDSImpl_SComponentIterator* SALOMEDS_SComponentIterator_i::_impl [private]

Definition at line 50 of file SALOMEDS_SComponentIterator_i.hxx.

CORBA::ORB_var SALOMEDS_SComponentIterator_i::_orb [private]

Definition at line 49 of file SALOMEDS_SComponentIterator_i.hxx.


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