#include <XAOPlugin_IOperations_i.hh>
Public Member Functions | |
XAOPlugin_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, XAOPlugin_IOperations *theImpl) | |
~XAOPlugin_IOperations_i () | |
CORBA::Boolean | ExportXAO (GEOM::GEOM_Object_ptr shape, const GEOM::ListOfGO &groups, const GEOM::ListOfFields &fields, const char *author, const char *fileName, const char *shapeFileName) |
CORBA::Boolean | ImportXAO (const char *fileName, GEOM::GEOM_Object_out shape, GEOM::ListOfGO_out subShapes, GEOM::ListOfGO_out groups, GEOM::ListOfFields_out fields) |
XAOPlugin_IOperations * | GetOperations () |
Public Member Functions inherited from GEOM_IOperations_i | |
GEOM_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,::GEOM_IOperations *theImpl) | |
~GEOM_IOperations_i () | |
virtual CORBA::Boolean | IsDone () |
virtual void | SetErrorCode (const char *theErrorCode) |
virtual char * | GetErrorCode () |
virtual CORBA::Long | GetStudyID () |
virtual GEOM::GEOM_BaseObject_ptr | GetBaseObject (Handle(GEOM_BaseObject) theObject) |
virtual void | FinishOperation () |
virtual void | AbortOperation () |
::GEOM_IOperations * | GetImpl () |
virtual void | UpdateGUIForObject (GEOM::GEOM_Object_ptr theObj) |
XAOPlugin_IOperations_i::XAOPlugin_IOperations_i | ( | PortableServer::POA_ptr | thePOA, |
GEOM::GEOM_Gen_ptr | theEngine, | ||
XAOPlugin_IOperations * | theImpl | ||
) |
constructor:
XAOPlugin_IOperations_i::~XAOPlugin_IOperations_i | ( | ) |
destructor
CORBA::Boolean XAOPlugin_IOperations_i::ExportXAO | ( | GEOM::GEOM_Object_ptr | shape, |
const GEOM::ListOfGO & | groups, | ||
const GEOM::ListOfFields & | fields, | ||
const char * | author, | ||
const char * | fileName, | ||
const char * | shapeFileName | ||
) |
Export a shape to XAO format
shape | The shape to export |
groups | The list of groups to export |
fields | The list of fields to export |
author | The author of the export |
fileName | The name of the exported file |
shapeFileName | If not empty, save to shape to this external file |
References XAOPlugin_IOperations::ExportXAO(), GetOperations(), Handle(), and GEOM_IOperations::SetNotDone().
XAOPlugin_IOperations * XAOPlugin_IOperations_i::GetOperations | ( | ) |
References GEOM_IOperations_i::GetImpl().
CORBA::Boolean XAOPlugin_IOperations_i::ImportXAO | ( | const char * | fileName, |
GEOM::GEOM_Object_out | shape, | ||
GEOM::ListOfGO_out | subShapes, | ||
GEOM::ListOfGO_out | groups, | ||
GEOM::ListOfFields_out | fields | ||
) |
Import a shape from XAO format
fileName | The name of the file to import |
shape | The imported shape |
subShapes | The list of imported subShapes |
groups | The list of imported groups |
fields | The list of imported fields |
References GEOM_IOperations_i::GetBaseObject(), GetOperations(), Handle(), XAOPlugin_IOperations::ImportXAO(), GEOM_IOperations_i::IsDone(), and GEOM_IOperations::SetNotDone().