Back to index

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

#include <SALOMEDS_UseCaseIterator_i.hxx>

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

List of all members.

Public Member Functions

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

Private Attributes

CORBA::ORB_var _orb
SALOMEDSImpl_UseCaseIterator * _impl

Detailed Description

Definition at line 40 of file SALOMEDS_UseCaseIterator_i.hxx.


Constructor & Destructor Documentation

SALOMEDS_UseCaseIterator_i::SALOMEDS_UseCaseIterator_i ( const SALOMEDSImpl_UseCaseIterator &  theImpl,
CORBA::ORB_ptr  orb 
)

standard constructor

Function : constructor Purpose :

Definition at line 39 of file SALOMEDS_UseCaseIterator_i.cxx.

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

standard destructor

Function : destructor Purpose :

Definition at line 51 of file SALOMEDS_UseCaseIterator_i.cxx.

{
    if(_impl) delete _impl;
}

Member Function Documentation

void SALOMEDS_UseCaseIterator_i::Init ( CORBA::Boolean  allLevels) [virtual]

Function :Init.

Definition at line 61 of file SALOMEDS_UseCaseIterator_i.cxx.

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

Here is the call graph for this function:

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

Function : More.

Definition at line 72 of file SALOMEDS_UseCaseIterator_i.cxx.

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

Here is the call graph for this function:

Function : Next.

Definition at line 84 of file SALOMEDS_UseCaseIterator_i.cxx.

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

Here is the call graph for this function:

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

Function : Purpose :

Definition at line 96 of file SALOMEDS_UseCaseIterator_i.cxx.

{
  SALOMEDS::Locker lock;
  if(!_impl) return SALOMEDS::SObject::_nil();
  SALOMEDSImpl_SObject aSO = _impl->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_UseCaseIterator* SALOMEDS_UseCaseIterator_i::_impl [private]

Definition at line 46 of file SALOMEDS_UseCaseIterator_i.hxx.

CORBA::ORB_var SALOMEDS_UseCaseIterator_i::_orb [private]

Definition at line 45 of file SALOMEDS_UseCaseIterator_i.hxx.


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