Version: 6.3.1
Public Member Functions | Private Member Functions | Private Attributes

GEOM_Gen_i Class Reference

#include <GEOM_Gen_i.hh>

Inheritance diagram for GEOM_Gen_i:
Inheritance graph

Public Member Functions

 GEOM_Gen_i ()
 GEOM_Gen_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
virtual ~GEOM_Gen_i ()
void register_name (char *name)
SALOMEDS::TMPFile * Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
SALOMEDS::TMPFile * SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
CORBA::Boolean Load (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
CORBA::Boolean LoadASCII (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
void Close (SALOMEDS::SComponent_ptr theComponent)
char * ComponentDataType ()
char * IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
char * LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
bool CanPublishInStudy (CORBA::Object_ptr theIOR)
SALOMEDS::SObject_ptr PublishInStudy (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw (SALOME::SALOME_Exception)
GEOM::ListOfGOPublishNamedShapesInStudy (SALOMEDS::Study_ptr theStudy, CORBA::Object_ptr theObject)
CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
SALOMEDS::TMPFile * CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID)
CORBA::Boolean CanPaste (const char *theComponentName, CORBA::Long theObjectID)
SALOMEDS::SObject_ptr PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject)
SALOMEDS::SObject_ptr AddInStudy (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, const char *theName, GEOM::GEOM_Object_ptr theFather)
 Adds theObject in the study with a name = theName, if theFather is not null the object is placed under theFather.
GEOM::ListOfGORestoreSubShapesO (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, const GEOM::ListOfGO &theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix)
 Publish sub-shapes, standing for arguments and sub-shapes of arguments. To be used from python scripts out of geompy.addToStudy (non-default usage)
GEOM::ListOfGORestoreGivenSubShapesO (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, const GEOM::ListOfGO &theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix)
 Publish sub-shapes, standing for given in theArgs arguments and sub-shapes. To be used from python scripts, generated by Dump Python.
GEOM::ListOfGORestoreSubShapesSO (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, const GEOM::ListOfGO &theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix)
 Publish sub-shapes, standing for arguments and sub-shapes of arguments. To be used from GUI and from geompy.addToStudy.
virtual void Undo (CORBA::Long theStudyID)
virtual void Redo (CORBA::Long theStudyID)
virtual
GEOM::GEOM_IBasicOperations_ptr 
GetIBasicOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_ITransformOperations_ptr 
GetITransformOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_I3DPrimOperations_ptr 
GetI3DPrimOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IShapesOperations_ptr 
GetIShapesOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IBlocksOperations_ptr 
GetIBlocksOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IBooleanOperations_ptr 
GetIBooleanOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_ICurvesOperations_ptr 
GetICurvesOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_ILocalOperations_ptr 
GetILocalOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IHealingOperations_ptr 
GetIHealingOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IInsertOperations_ptr 
GetIInsertOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IMeasureOperations_ptr 
GetIMeasureOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IGroupOperations_ptr 
GetIGroupOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual
GEOM::GEOM_IAdvancedOperations_ptr 
GetIAdvancedOperations (CORBA::Long theStudyID) throw (SALOME::SALOME_Exception)
virtual GEOM::GEOM_Object_ptr AddSubShape (GEOM::GEOM_Object_ptr theMainShape, const GEOM::ListOfLong &theIndices)
virtual void RemoveObject (GEOM::GEOM_Object_ptr theObject)
virtual char * GetStringFromIOR (GEOM::GEOM_Object_ptr theObject)
virtual GEOM::GEOM_Object_ptr GetIORFromString (const char *stringIOR)
virtual Engines::TMPFile * DumpPython (CORBA::Object_ptr theStudy, CORBA::Boolean isPublished, CORBA::Boolean isMultiFile, CORBA::Boolean &isValidScript)
char * GetDumpName (const char *theStudyEntry)
GEOM::string_arrayGetAllDumpNames ()
virtual bool hasObjectInfo ()
virtual char * getObjectInfo (CORBA::Long studyId, const char *entry)
virtual GEOM::GEOM_Object_ptr GetObject (CORBA::Long theStudyID, const char *theEntry)

Private Member Functions

GEOM::ListOfGORestoreSubShapes (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, SALOMEDS::SObject_ptr theSObject, const GEOM::ListOfGO &theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix)
GEOM::ListOfGORestoreSubShapesOneLevel (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theOldSO, SALOMEDS::SObject_ptr theNewSO, GEOM::GEOM_Object_ptr theNewO, GEOM::ListOfGO &theOutArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theAddPrefix)
GEOM::ListOfGORestoreGivenSubShapes (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, SALOMEDS::SObject_ptr theSObject, const GEOM::ListOfGO &theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theInheritFirstArg, CORBA::Boolean theAddPrefix)
GEOM::ListOfGORestoreGivenSubShapesOneLevel (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theOldSO, SALOMEDS::SObject_ptr theNewSO, GEOM::GEOM_Object_ptr theNewO, std::set< std::string > theArgs, GEOM::find_shape_method theFindMethod, CORBA::Boolean theAddPrefix)
void CreateAndPublishGroup (SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_var theMainShape, const TopTools_IndexedMapOfShape &anIndices, const TopTools_SequenceOfShape &SeqS, const TColStd_SequenceOfAsciiString &SeqN, const Standard_CString &GrName, GEOM::ListOfGO_var aResList)

Private Attributes

::GEOMImpl_Gen_impl
SALOME_NamingService * name_service
char * _name

Constructor & Destructor Documentation

GEOM_Gen_i.GEOM_Gen_i ( )
GEOM_Gen_i::GEOM_Gen_i ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

References _impl, and name_service.

GEOM_Gen_i::~GEOM_Gen_i ( ) [virtual]

References _impl, and name_service.


Member Function Documentation

void GEOM_Gen_i::register_name ( char *  name)

References name_service.

SALOMEDS::TMPFile * GEOM_Gen_i::Save ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
)

References _impl, and GEOM_Engine.Save().

SALOMEDS::TMPFile * GEOM_Gen_i::SaveASCII ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
)

References Save().

CORBA::Boolean GEOM_Gen_i::Load ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
)
CORBA::Boolean GEOM_Gen_i::LoadASCII ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
)

References Load().

void GEOM_Gen_i::Close ( SALOMEDS::SComponent_ptr  theComponent)

References _impl, and GEOM_Engine.Close().

char * GEOM_Gen_i::ComponentDataType ( )
char * GEOM_Gen_i::IORToLocalPersistentID ( SALOMEDS::SObject_ptr  theSObject,
const char *  IORString,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
)
char * GEOM_Gen_i::LocalPersistentIDToIOR ( SALOMEDS::SObject_ptr  theSObject,
const char *  aLocalPersistentID,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
)

References _impl, GetObject(), and Handle().

bool GEOM_Gen_i::CanPublishInStudy ( CORBA::Object_ptr  theIOR)
SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theObject,
const char *  theName 
) throw (SALOME::SALOME_Exception)
GEOM::ListOfGO * GEOM_Gen_i::PublishNamedShapesInStudy ( SALOMEDS::Study_ptr  theStudy,
CORBA::Object_ptr  theObject 
)
CORBA::Boolean GEOM_Gen_i::CanCopy ( SALOMEDS::SObject_ptr  theObject)
SALOMEDS::TMPFile * GEOM_Gen_i::CopyFrom ( SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID 
)
CORBA::Boolean GEOM_Gen_i::CanPaste ( const char *  theComponentName,
CORBA::Long  theObjectID 
)

References ComponentDataType().

SALOMEDS::SObject_ptr GEOM_Gen_i::PasteInto ( const SALOMEDS::TMPFile &  theStream,
CORBA::Long  theObjectID,
SALOMEDS::SObject_ptr  theObject 
)
SALOMEDS::SObject_ptr GEOM_Gen_i::AddInStudy ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_ptr  theObject,
const char *  theName,
GEOM::GEOM_Object_ptr  theFather 
)
GEOM::ListOfGO * GEOM_Gen_i::RestoreSubShapesO ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_ptr  theObject,
const GEOM::ListOfGO theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theInheritFirstArg,
CORBA::Boolean  theAddPrefix 
)

References RestoreSubShapes().

GEOM::ListOfGO * GEOM_Gen_i::RestoreGivenSubShapesO ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_ptr  theObject,
const GEOM::ListOfGO theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theInheritFirstArg,
CORBA::Boolean  theAddPrefix 
)
GEOM::ListOfGO * GEOM_Gen_i::RestoreSubShapesSO ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject,
const GEOM::ListOfGO theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theInheritFirstArg,
CORBA::Boolean  theAddPrefix 
)

References RestoreSubShapes().

void GEOM_Gen_i::Undo ( CORBA::Long  theStudyID) [virtual]

References _impl, and GEOM_Engine.Undo().

void GEOM_Gen_i::Redo ( CORBA::Long  theStudyID) [virtual]

References _impl, and GEOM_Engine.Redo().

GEOM::GEOM_IBasicOperations_ptr GEOM_Gen_i::GetIBasicOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_ITransformOperations_ptr GEOM_Gen_i::GetITransformOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_I3DPrimOperations_ptr GEOM_Gen_i::GetI3DPrimOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IShapesOperations_ptr GEOM_Gen_i::GetIShapesOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IBlocksOperations_ptr GEOM_Gen_i::GetIBlocksOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IBooleanOperations_ptr GEOM_Gen_i::GetIBooleanOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_ICurvesOperations_ptr GEOM_Gen_i::GetICurvesOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_ILocalOperations_ptr GEOM_Gen_i::GetILocalOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IHealingOperations_ptr GEOM_Gen_i::GetIHealingOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IInsertOperations_ptr GEOM_Gen_i::GetIInsertOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IMeasureOperations_ptr GEOM_Gen_i::GetIMeasureOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IGroupOperations_ptr GEOM_Gen_i::GetIGroupOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_IAdvancedOperations_ptr GEOM_Gen_i::GetIAdvancedOperations ( CORBA::Long  theStudyID) throw (SALOME::SALOME_Exception) [virtual]
GEOM::GEOM_Object_ptr GEOM_Gen_i::AddSubShape ( GEOM::GEOM_Object_ptr  theMainShape,
const GEOM::ListOfLong theIndices 
) [virtual]

AddSubShape

References _impl, GetObject(), Handle(), and PAL_MESH_030_geometry.i.

void GEOM_Gen_i::RemoveObject ( GEOM::GEOM_Object_ptr  theObject) [virtual]

RemoveObject

References _impl, Handle(), and GEOM_Engine.RemoveObject().

char * GEOM_Gen_i::GetStringFromIOR ( GEOM::GEOM_Object_ptr  theObject) [virtual]
GEOM::GEOM_Object_ptr GEOM_Gen_i::GetIORFromString ( const char *  stringIOR) [virtual]
Engines::TMPFile * GEOM_Gen_i::DumpPython ( CORBA::Object_ptr  theStudy,
CORBA::Boolean  isPublished,
CORBA::Boolean  isMultiFile,
CORBA::Boolean &  isValidScript 
) [virtual]
char * GEOM_Gen_i::GetDumpName ( const char *  theStudyEntry)
GEOM::string_array * GEOM_Gen_i::GetAllDumpNames ( )
bool GEOM_Gen_i::hasObjectInfo ( ) [virtual]
char * GEOM_Gen_i::getObjectInfo ( CORBA::Long  studyId,
const char *  entry 
) [virtual]
GEOM::GEOM_Object_ptr GEOM_Gen_i::GetObject ( CORBA::Long  theStudyID,
const char *  theEntry 
) [virtual]

References _impl, and Handle().

GEOM::ListOfGO * GEOM_Gen_i::RestoreSubShapes ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_ptr  theObject,
SALOMEDS::SObject_ptr  theSObject,
const GEOM::ListOfGO theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theInheritFirstArg,
CORBA::Boolean  theAddPrefix 
) [private]
GEOM::ListOfGO * GEOM_Gen_i::RestoreSubShapesOneLevel ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theOldSO,
SALOMEDS::SObject_ptr  theNewSO,
GEOM::GEOM_Object_ptr  theNewO,
GEOM::ListOfGO theOutArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theAddPrefix 
) [private]
GEOM::ListOfGO * GEOM_Gen_i::RestoreGivenSubShapes ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_ptr  theObject,
SALOMEDS::SObject_ptr  theSObject,
const GEOM::ListOfGO theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theInheritFirstArg,
CORBA::Boolean  theAddPrefix 
) [private]
GEOM::ListOfGO * GEOM_Gen_i::RestoreGivenSubShapesOneLevel ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theOldSO,
SALOMEDS::SObject_ptr  theNewSO,
GEOM::GEOM_Object_ptr  theNewO,
std::set< std::string >  theArgs,
GEOM::find_shape_method  theFindMethod,
CORBA::Boolean  theAddPrefix 
) [private]
void GEOM_Gen_i::CreateAndPublishGroup ( SALOMEDS::Study_ptr  theStudy,
GEOM::GEOM_Object_var  theMainShape,
const TopTools_IndexedMapOfShape &  anIndices,
const TopTools_SequenceOfShape &  SeqS,
const TColStd_SequenceOfAsciiString &  SeqN,
const Standard_CString &  GrName,
GEOM::ListOfGO_var  aResList 
) [private]

Field Documentation

SALOME_NamingService* GEOM_Gen_i.name_service [private]
char* GEOM_Gen_i._name [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS