Back to index

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

#include <SALOMEDS_Callback_i.hxx>

List of all members.

Public Member Functions

 SALOMEDS_Callback_i (SALOMEDS::UseCaseBuilder_ptr theBuilder)
virtual void OnAddSObject (SALOMEDS::SObject_ptr theObject)
virtual void OnRemoveSObject (SALOMEDS::SObject_ptr theObject)

Private Attributes

SALOMEDS::UseCaseBuilder_var _builder

Detailed Description

Definition at line 35 of file SALOMEDS_Callback_i.hxx.

Constructor & Destructor Documentation

SALOMEDS_Callback_i::SALOMEDS_Callback_i ( SALOMEDS::UseCaseBuilder_ptr  theBuilder) [inline]

Definition at line 43 of file SALOMEDS_Callback_i.hxx.

   _builder = SALOMEDS::UseCaseBuilder::_duplicate(theBuilder);

Member Function Documentation

virtual void SALOMEDS_Callback_i::OnAddSObject ( SALOMEDS::SObject_ptr  theObject) [inline, virtual]

Definition at line 47 of file SALOMEDS_Callback_i.hxx.

   if(!_builder->_is_nil() && !theObject->_is_nil()) _builder->Append(theObject);
virtual void SALOMEDS_Callback_i::OnRemoveSObject ( SALOMEDS::SObject_ptr  theObject) [inline, virtual]

Definition at line 51 of file SALOMEDS_Callback_i.hxx.

   if(!_builder->_is_nil() && !theObject->_is_nil()) _builder->Remove(theObject);

Member Data Documentation

SALOMEDS::UseCaseBuilder_var SALOMEDS_Callback_i::_builder [private]

Definition at line 39 of file SALOMEDS_Callback_i.hxx.

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