Back to index

salome-geom  6.5.0
Functions
GEOM_SubShapeDriver.cxx File Reference
#include <Standard_Stream.hxx>
#include <GEOM_SubShapeDriver.hxx>
#include <GEOM_ISubShape.hxx>
#include <GEOM_Function.hxx>
#include <GEOM_Object.hxx>
#include <BRep_Builder.hxx>
#include <TopExp.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Compound.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <Standard_NullObject.hxx>

Go to the source code of this file.

Functions

Standard_EXPORT
Handle_Standard_Type & 
GEOM_SubShapeDriver_Type_ ()
const Handle (GEOM_SubShapeDriver) Handle(GEOM_SubShapeDriver)

Function Documentation

Standard_EXPORT Handle_Standard_Type& GEOM_SubShapeDriver_Type_ ( )

Definition at line 115 of file GEOM_SubShapeDriver.cxx.

{

  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
  if (aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
  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_SubShapeDriver",
                                                         sizeof(GEOM_SubShapeDriver),
                                                         1,
                                                         (Standard_Address)_Ancestors,
                                                         (Standard_Address)NULL);

  return _aType;
}

Here is the call graph for this function:

Definition at line 140 of file GEOM_SubShapeDriver.cxx.

{
  Handle(GEOM_SubShapeDriver) _anOtherObject;

  if (!AnObject.IsNull()) {
     if (AnObject->IsKind(STANDARD_TYPE(GEOM_SubShapeDriver))) {
       _anOtherObject = Handle(GEOM_SubShapeDriver)((Handle(GEOM_SubShapeDriver)&)AnObject);
     }
  }

  return _anOtherObject;
}

Here is the call graph for this function: