Back to index

salome-geom  6.5.0
Public Member Functions | Private Attributes | Friends
GEOM_InteractiveObject Class Reference

.... More...

#include <GEOM_InteractiveObject.hxx>

Collaboration diagram for GEOM_InteractiveObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GEOM_InteractiveObject ()
Standard_EXPORT GEOM_InteractiveObject (const char *anIOR, const char *aFatherIOR, const char *aComponentDataType, const char *anEntry="")
Standard_EXPORT void setIOR (const char *anEntry)
Standard_EXPORT const char * getIOR ()
Standard_EXPORT void setFatherIOR (const char *anEntry)
Standard_EXPORT const char * getFatherIOR ()
virtual Standard_EXPORT
Standard_Boolean 
isSame (const Handle(SALOME_InteractiveObject)&anIO)
Standard_EXPORT ~GEOM_InteractiveObject ()
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
Standard_EXPORT Standard_Boolean IsKind (const Handle(Standard_Type)&) const

Private Attributes

std::string myIOR
std::string myFatherIOR

Friends

Standard_EXPORT friend
Handle_Standard_Type & 
GEOM_InteractiveObject_Type_ ()

Detailed Description

....

Definition at line 50 of file GEOM_InteractiveObject.hxx.


Constructor & Destructor Documentation

Definition at line 36 of file GEOM_InteractiveObject.cxx.

  : SALOME_InteractiveObject()
{
  myIOR       = "";
  myFatherIOR = "";
}
GEOM_InteractiveObject::GEOM_InteractiveObject ( const char *  anIOR,
const char *  aFatherIOR,
const char *  aComponentDataType,
const char *  anEntry = "" 
)

Definition at line 43 of file GEOM_InteractiveObject.cxx.

  : SALOME_InteractiveObject(anEntry,aComponentDataType)
{
  myIOR       = anIOR;
  myFatherIOR = aFatherIOR;
}

Definition at line 33 of file GEOM_InteractiveObject.ixx.

{}

Member Function Documentation

Definition at line 57 of file GEOM_InteractiveObject.cxx.

                                                {
  return myFatherIOR.c_str();
}

Definition at line 53 of file GEOM_InteractiveObject.cxx.

                                          {
  return myIOR.c_str();
}
Standard_EXPORT const GEOM_InteractiveObject::Handle ( Standard_Type  ) const

Here is the caller graph for this function:

Standard_Boolean GEOM_InteractiveObject::IsKind ( const Handle(Standard_Type)&  AType) const

Definition at line 78 of file GEOM_InteractiveObject.ixx.

{ 
  return (STANDARD_TYPE(GEOM_InteractiveObject) == AType || SALOME_InteractiveObject::IsKind(AType)); 
}

Here is the call graph for this function:

Standard_Boolean GEOM_InteractiveObject::isSame ( const Handle(SALOME_InteractiveObject)&  anIO) [virtual]

Definition at line 61 of file GEOM_InteractiveObject.cxx.

                                                                                            {
  if ( anIO->hasEntry() && this->hasEntry() ) {
    if ( myEntry == anIO->getEntry() )
      return Standard_True;
  }
  
  if ( anIO->IsKind(STANDARD_TYPE(GEOM_InteractiveObject))) {
    Handle(GEOM_InteractiveObject) theIO = Handle(GEOM_InteractiveObject)::DownCast( anIO );
    if ( myIOR == theIO->getIOR() )
      return Standard_True;
  }

  return Standard_False;
}

Here is the call graph for this function:

void GEOM_InteractiveObject::operator delete ( void *  anAddress) [inline]

Definition at line 62 of file GEOM_InteractiveObject.hxx.

      { 
        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
      }
void* GEOM_InteractiveObject::operator new ( size_t  ,
void *  anAddress 
) [inline]

Definition at line 54 of file GEOM_InteractiveObject.hxx.

      {
        return anAddress;
      }
void* GEOM_InteractiveObject::operator new ( size_t  size) [inline]

Definition at line 58 of file GEOM_InteractiveObject.hxx.

      { 
        return Standard::Allocate(size); 
      }
Standard_EXPORT void GEOM_InteractiveObject::setFatherIOR ( const char *  anEntry)
Standard_EXPORT void GEOM_InteractiveObject::setIOR ( const char *  anEntry)

Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& GEOM_InteractiveObject_Type_ ( ) [friend]

Definition at line 37 of file GEOM_InteractiveObject.ixx.

{

    static Handle_Standard_Type aType1 = STANDARD_TYPE(SALOME_InteractiveObject);
  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SALOME_InteractiveObject);
  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
 

  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
  static Handle_Standard_Type _aType = new Standard_Type("GEOM_InteractiveObject",
                                                         sizeof(GEOM_InteractiveObject),
                                                         1,
                                                         (Standard_Address)_Ancestors,
                                                         (Standard_Address)NULL);

  return _aType;
}

Member Data Documentation

std::string GEOM_InteractiveObject::myFatherIOR [private]

Definition at line 112 of file GEOM_InteractiveObject.hxx.

std::string GEOM_InteractiveObject::myIOR [private]

Definition at line 111 of file GEOM_InteractiveObject.hxx.


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