Version: 8.3.0
SALOMEDS_UseCaseBuilder_i Class Reference

#include <SALOMEDS_UseCaseBuilder_i.hxx>

Inheritance diagram for SALOMEDS_UseCaseBuilder_i:

Public Member Functions

 SALOMEDS_UseCaseBuilder_i (SALOMEDSImpl_UseCaseBuilder *theDocument, CORBA::ORB_ptr)
 standard constructor More...
 
 ~SALOMEDS_UseCaseBuilder_i ()
 standard destructor More...
 
virtual CORBA::Boolean Append (SALOMEDS::SObject_ptr theObject)
 Function : Append Purpose : More...
 
virtual CORBA::Boolean Remove (SALOMEDS::SObject_ptr theObject)
 Function : Remove Purpose : More...
 
virtual CORBA::Boolean AppendTo (SALOMEDS::SObject_ptr theFather, SALOMEDS::SObject_ptr theObject)
 Function : AppendTo Purpose : More...
 
virtual CORBA::Boolean InsertBefore (SALOMEDS::SObject_ptr theFirst, SALOMEDS::SObject_ptr theNext)
 Function : InsertBefore Purpose : More...
 
virtual CORBA::Boolean SetCurrentObject (SALOMEDS::SObject_ptr theObject)
 Function : SetCurrentObject Purpose : More...
 
virtual CORBA::Boolean SetRootCurrent ()
 Function : SetRootCurrent Purpose : More...
 
virtual CORBA::Boolean HasChildren (SALOMEDS::SObject_ptr theObject)
 Function : HasChildren Purpose : More...
 
virtual CORBA::Boolean SortChildren (SALOMEDS::SObject_ptr theObject, CORBA::Boolean theAscendingOrder)
 Function : SortChildren Purpose : More...
 
virtual SALOMEDS::SObject_ptr GetFather (SALOMEDS::SObject_ptr theObject)
 Function : GetFather Purpose : More...
 
virtual CORBA::Boolean IsUseCase (SALOMEDS::SObject_ptr theObject)
 Function : IsUseCase Purpose : More...
 
virtual CORBA::Boolean IsUseCaseNode (SALOMEDS::SObject_ptr theObject)
 Function : IsUseCaseNode Purpose : More...
 
virtual CORBA::Boolean SetName (const char *theName)
 Function : SetName Purpose : More...
 
virtual SALOMEDS::SObject_ptr GetCurrentObject ()
 Function : GetCurrentObject Purpose : More...
 
virtual charGetName ()
 Function : GetName Purpose : More...
 
virtual SALOMEDS::SObject_ptr AddUseCase (const char *theName)
 Function : NewUseCase Purpose : More...
 
virtual
SALOMEDS::UseCaseIterator_ptr 
GetUseCaseIterator (SALOMEDS::SObject_ptr anObject)
 Function : GetUseCaseIterator Purpose : Creates a new UseCase iterator, if anObject is null all use cases are iterated. More...
 
virtual PortableServer::POA_ptr _default_POA ()
 Get default POA for the servant object. 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_UseCaseBuilder_impl
 

Constructor & Destructor Documentation

SALOMEDS_UseCaseBuilder_i::SALOMEDS_UseCaseBuilder_i ( SALOMEDSImpl_UseCaseBuilder theDocument,
CORBA::ORB_ptr  orb 
)

standard constructor

Function : constructor Purpose :

References _impl, and _orb.

SALOMEDS_UseCaseBuilder_i::~SALOMEDS_UseCaseBuilder_i ( )

standard destructor

Function : destructor Purpose :

Member Function Documentation

PortableServer::POA_ptr SALOME::GenericObj_i::_default_POA ( )
virtualinherited

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

References SALOME::GenericObj_i::myPOA.

SALOMEDS::SObject_ptr SALOMEDS_UseCaseBuilder_i::AddUseCase ( const char theName)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::Append ( SALOMEDS::SObject_ptr  theObject)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::AppendTo ( SALOMEDS::SObject_ptr  theFather,
SALOMEDS::SObject_ptr  theObject 
)
virtual
void SALOME::GenericObj_i::Destroy ( )
virtualinherited

Decrement reference counter.

Deprecated:
Use UnRegister() instead.

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

SALOMEDS::SObject_ptr SALOMEDS_UseCaseBuilder_i::GetCurrentObject ( )
virtual
SALOMEDS::SObject_ptr SALOMEDS_UseCaseBuilder_i::GetFather ( SALOMEDS::SObject_ptr  theObject)
virtual
char * SALOMEDS_UseCaseBuilder_i::GetName ( )
virtual

Function : GetName Purpose :

References _impl, SALOMEDSImpl_UseCaseBuilder::GetName(), and SALOMEDS::lock().

SALOMEDS::UseCaseIterator_ptr SALOMEDS_UseCaseBuilder_i::GetUseCaseIterator ( SALOMEDS::SObject_ptr  anObject)
virtual

Function : GetUseCaseIterator Purpose : Creates a new UseCase iterator, if anObject is null all use cases are iterated.

References _impl, _orb, SALOMEDSImpl_UseCaseBuilder::GetSObject(), SALOMEDSImpl_UseCaseBuilder::GetUseCaseIterator(), and SALOMEDS::lock().

CORBA::Boolean SALOMEDS_UseCaseBuilder_i::HasChildren ( SALOMEDS::SObject_ptr  theObject)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::InsertBefore ( SALOMEDS::SObject_ptr  theFirst,
SALOMEDS::SObject_ptr  theNext 
)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::IsUseCase ( SALOMEDS::SObject_ptr  theObject)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::IsUseCaseNode ( SALOMEDS::SObject_ptr  theObject)
virtual
void SALOME::GenericObj_i::Register ( )
virtualinherited

Increment reference counter.

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

CORBA::Boolean SALOMEDS_UseCaseBuilder_i::Remove ( SALOMEDS::SObject_ptr  theObject)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::SetCurrentObject ( SALOMEDS::SObject_ptr  theObject)
virtual
CORBA::Boolean SALOMEDS_UseCaseBuilder_i::SetName ( const char theName)
virtual

Function : SetName Purpose :

References _impl, SALOMEDS::lock(), and SALOMEDSImpl_UseCaseBuilder::SetName().

CORBA::Boolean SALOMEDS_UseCaseBuilder_i::SetRootCurrent ( )
virtual

Function : SetRootCurrent Purpose :

References _impl, SALOMEDS::lock(), and SALOMEDSImpl_UseCaseBuilder::SetRootCurrent().

CORBA::Boolean SALOMEDS_UseCaseBuilder_i::SortChildren ( SALOMEDS::SObject_ptr  theObject,
CORBA::Boolean  theAscendingOrder 
)
virtual
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, MYDEBUG, SALOME::GenericObj_i::myPOA, and SALOME::GenericObj_i::myRefCounter.

Referenced by SALOME::GenericObj_i::Destroy().

Field Documentation

CORBA::ORB_var SALOMEDS_UseCaseBuilder_i::_orb
private
PortableServer::POA_var SALOME::GenericObj_i::myPOA
protectedinherited
int SALOME::GenericObj_i::myRefCounter
protectedinherited