Version: 9.12.0
GEOM_Gen_Session_i Class Reference

#include <GEOM_Gen_Session_i.hh>

Inheritance diagram for GEOM_Gen_Session_i:
Inheritance graph

Public Member Functions

 GEOM_Gen_Session_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
 
 ~GEOM_Gen_Session_i ()
 
void register_name (char *name)
 
SALOMEDS::Study_var getStudyServant () override
 
SALOME_NamingService * GetNS ()
 
- Public Member Functions inherited from 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, bool withRegistry=true)
 
virtual ~GEOM_Gen_i ()
 
CORBA::ORB_ptr GetORB ()
 
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::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName)
 
GEOM::ListOfGOPublishNamedShapesInStudy (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 (GEOM::GEOM_BaseObject_ptr theObject, const char *theName, GEOM::GEOM_BaseObject_ptr theFather)
 Adds theObject in the study with a name = theName, if theFather is not null the object is placed under theFather. More...
 
GEOM::ListOfGORestoreSubShapesO (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) More...
 
GEOM::ListOfGORestoreGivenSubShapesO (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. More...
 
GEOM::ListOfGORestoreSubShapesSO (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. More...
 
SALOMEDS::TMPFile * GetDependencyTree (const GEOM::string_array &theObjectEntries)
 
virtual void Undo ()
 
virtual void Redo ()
 
virtual GEOM::GEOM_IBasicOperations_ptr GetIBasicOperations ()
 
virtual GEOM::GEOM_ITransformOperations_ptr GetITransformOperations ()
 
virtual GEOM::GEOM_I3DPrimOperations_ptr GetI3DPrimOperations ()
 
virtual GEOM::GEOM_IShapesOperations_ptr GetIShapesOperations ()
 
virtual GEOM::GEOM_IBlocksOperations_ptr GetIBlocksOperations ()
 
virtual GEOM::GEOM_IBooleanOperations_ptr GetIBooleanOperations ()
 
virtual GEOM::GEOM_ICurvesOperations_ptr GetICurvesOperations ()
 
virtual GEOM::GEOM_ILocalOperations_ptr GetILocalOperations ()
 
virtual GEOM::GEOM_IHealingOperations_ptr GetIHealingOperations ()
 
virtual GEOM::GEOM_IInsertOperations_ptr GetIInsertOperations ()
 
virtual GEOM::GEOM_IMeasureOperations_ptr GetIMeasureOperations ()
 
virtual GEOM::GEOM_IGroupOperations_ptr GetIGroupOperations ()
 
virtual GEOM::GEOM_IFieldOperations_ptr GetIFieldOperations ()
 
virtual GEOM::GEOM_ITestOperations_ptr GetITestOperations ()
 
virtual GEOM::GEOM_ICanonicalRecognition_ptr GetICanonicalRecognition ()
 
virtual GEOM::GEOM_IOperations_ptr GetPluginOperations (const char *theLibName)
 
virtual GEOM::GEOM_Object_ptr AddSubShape (GEOM::GEOM_Object_ptr theMainShape, const GEOM::ListOfLong &theIndices)
 
virtual void RemoveObject (GEOM::GEOM_BaseObject_ptr theObject)
 
virtual char * GetStringFromIOR (GEOM::GEOM_Object_ptr theObject)
 
virtual GEOM::GEOM_Object_ptr GetIORFromString (const char *stringIOR)
 
virtual Engines::TMPFile * DumpPython (CORBA::Boolean isPublished, CORBA::Boolean isMultiFile, CORBA::Boolean &isValidScript)
 
char * GetDumpName (const char *theStudyEntry)
 
GEOM::string_arrayGetAllDumpNames ()
 
virtual bool hasObjectInfo ()
 
virtual char * getObjectInfo (const char *entry)
 
virtual char * getVersion ()
 
SALOMEDS::SObject_ptr CreateFolder (const char *theName, SALOMEDS::SObject_ptr theFather)
 
void MoveToFolder (GEOM::GEOM_Object_ptr theObject, SALOMEDS::SObject_ptr theFolder)
 
void MoveListToFolder (const GEOM::ListOfGO &theListOfGO, SALOMEDS::SObject_ptr theFolder)
 
void Move (const GEOM::object_list &what, SALOMEDS::SObject_ptr where, CORBA::Long row)
 
void GetEntriesToReduceStudy (GEOM::string_array &theSelectedEntries, GEOM::string_array &theParentEntries, GEOM::string_array &theSubEntries, GEOM::string_array &theOtherEntries)
 Fills 3 lists that is used to clean study of redundant objects. To be used from GUI. More...
 
virtual GEOM::GEOM_BaseObject_ptr GetObject (const char *theEntry)
 

Private Attributes

SALOME_NamingService * name_service = nullptr
 

Constructor & Destructor Documentation

◆ GEOM_Gen_Session_i()

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

References name_service.

◆ ~GEOM_Gen_Session_i()

GEOM_Gen_Session_i::~GEOM_Gen_Session_i ( )

References name_service.

Member Function Documentation

◆ GetNS()

SALOME_NamingService* GEOM_Gen_Session_i::GetNS ( )
inline

◆ getStudyServant()

SALOMEDS::Study_var GEOM_Gen_Session_i::getStudyServant ( )
overridevirtual

Implements GEOM_Gen_i.

References name_service.

◆ register_name()

void GEOM_Gen_Session_i::register_name ( char *  name)

References name_service.

Member Data Documentation

◆ name_service

SALOME_NamingService* GEOM_Gen_Session_i::name_service = nullptr
private

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