Version: 9.15.0
SALOMEDS_SComponentIterator_i Class Reference

#include <SALOMEDS_SComponentIterator_i.hxx>

Inheritance diagram for SALOMEDS_SComponentIterator_i:

Public Member Functions

 SALOMEDS_SComponentIterator_i (const SALOMEDSImpl_SComponentIterator &theImpl, CORBA::ORB_ptr)
 Function : constructor. More...
 
 ~SALOMEDS_SComponentIterator_i ()
 Function : destructor. More...
 
virtual PortableServer::POA_ptr _default_POA ()
 Get default POA for the servant object. More...
 
virtual void Init ()
 Function : Init. More...
 
virtual CORBA::Boolean More ()
 Function : More. More...
 
virtual void Next ()
 Function : Next. More...
 
virtual SALOMEDS::SComponent_ptr Value ()
 Function : Value. More...
 
virtual void Register ()
 Increment reference counter. More...
 
virtual void UnRegister ()
 Decrement reference counter. More...
 
virtual void Destroy ()
 Decrement reference counter. More...
 

Protected Attributes

PortableServer::POA_var myPOA
 
int myRefCounter
 

Private Attributes

CORBA::ORB_var _orb
 
SALOMEDSImpl_SComponentIterator_impl
 

Constructor & Destructor Documentation

◆ SALOMEDS_SComponentIterator_i()

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

Function : constructor.

References _impl, _orb, SALOMEDSImpl_SComponentIterator::GetPersistentCopy(), and salome::orb.

◆ ~SALOMEDS_SComponentIterator_i()

SALOMEDS_SComponentIterator_i::~SALOMEDS_SComponentIterator_i ( )

Function : destructor.

References _impl.

Member Function Documentation

◆ _default_POA()

PortableServer::POA_ptr SALOMEDS_SComponentIterator_i::_default_POA ( )
virtual

Get default POA for the servant object.

This function is implicitly called from "_this()" function. Default POA can be set via the constructor.

Returns
reference to the default POA for the servant

Reimplemented from SALOME::GenericObj_i.

References SALOMEDS_Study_i::GetThePOA(), MESSAGE, and SALOME::GenericObj_i::myPOA.

◆ Destroy()

void SALOME::GenericObj_i::Destroy ( )
virtualinherited

Decrement reference counter.

Deprecated:
Use UnRegister() instead.

References MESSAGE, and SALOME::GenericObj_i::UnRegister().

◆ Init()

void SALOMEDS_SComponentIterator_i::Init ( )
virtual

◆ More()

CORBA::Boolean SALOMEDS_SComponentIterator_i::More ( )
virtual

◆ Next()

void SALOMEDS_SComponentIterator_i::Next ( )
virtual

◆ Register()

void SALOME::GenericObj_i::Register ( )
virtualinherited

Increment reference counter.

References IS_OBJ_IN_QUESTION, MESSAGE, and SALOME::GenericObj_i::myRefCounter.

◆ UnRegister()

void SALOME::GenericObj_i::UnRegister ( )
virtualinherited

Decrement reference counter.

As soon as reference counter goes to zero, the object is automatically deactivated.

References IS_OBJ_IN_QUESTION, MESSAGE, SALOME::GenericObj_i::myPOA, and SALOME::GenericObj_i::myRefCounter.

Referenced by SALOME::GenericObj_i::Destroy(), and SALOME_PyNode.Generic::Destroy().

◆ Value()

SALOMEDS::SComponent_ptr SALOMEDS_SComponentIterator_i::Value ( )
virtual

Field Documentation

◆ _impl

◆ _orb

◆ myPOA

◆ myRefCounter

int SALOME::GenericObj_i::myRefCounter
protectedinherited