#include <XAOPlugin_IOperations_i.hh>
|
| 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) |
|
SALOMEDS::TMPFile * | ExportXAOMem (GEOM::GEOM_Object_ptr shape, const GEOM::ListOfGO &groups, const GEOM::ListOfFields &fields, const char *author) |
|
CORBA::Boolean | ImportXAO (const char *fileName, GEOM::GEOM_Object_out shape, GEOM::ListOfGO_out subShapes, GEOM::ListOfGO_out groups, GEOM::ListOfFields_out fields) |
|
CORBA::Boolean | ImportXAOMem (const SALOMEDS::TMPFile &theBuff, GEOM::GEOM_Object_out shape, GEOM::ListOfGO_out subShapes, GEOM::ListOfGO_out groups, GEOM::ListOfFields_out fields) |
|
XAOPlugin_IOperations * | GetOperations () |
|
| 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 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) |
|
|
std::string | exportXAO (GEOM::GEOM_Object_ptr shape, const GEOM::ListOfGO &groups, const GEOM::ListOfFields &fields, const char *author, const bool toFile, const char *fileName, const char *shapeFileName) |
|
CORBA::Boolean | importXAO (const bool isFile, const char *fileName, const SALOMEDS::TMPFile &theBuff, GEOM::GEOM_Object_out shape, GEOM::ListOfGO_out subShapes, GEOM::ListOfGO_out groups, GEOM::ListOfFields_out fields) |
|
◆ XAOPlugin_IOperations_i()
XAOPlugin_IOperations_i::XAOPlugin_IOperations_i |
( |
PortableServer::POA_ptr |
thePOA, |
|
|
GEOM::GEOM_Gen_ptr |
theEngine, |
|
|
XAOPlugin_IOperations * |
theImpl |
|
) |
| |
◆ ~XAOPlugin_IOperations_i()
XAOPlugin_IOperations_i::~XAOPlugin_IOperations_i |
( |
| ) |
|
◆ exportXAO()
std::string XAOPlugin_IOperations_i::exportXAO |
( |
GEOM::GEOM_Object_ptr |
shape, |
|
|
const GEOM::ListOfGO & |
groups, |
|
|
const GEOM::ListOfFields & |
fields, |
|
|
const char * |
author, |
|
|
const bool |
toFile, |
|
|
const char * |
fileName, |
|
|
const char * |
shapeFileName |
|
) |
| |
|
private |
◆ ExportXAO()
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 file
- Parameters
-
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 the BREP shape to this external file |
- Returns
- boolean indicating if export was successful.
References exportXAO(), and GEOM_IOperations_i::IsDone().
◆ ExportXAOMem()
SALOMEDS::TMPFile * XAOPlugin_IOperations_i::ExportXAOMem |
( |
GEOM::GEOM_Object_ptr |
shape, |
|
|
const GEOM::ListOfGO & |
groups, |
|
|
const GEOM::ListOfFields & |
fields, |
|
|
const char * |
author |
|
) |
| |
Export a shape to XAO format buffer
- Parameters
-
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 |
- Returns
- The output buffer
References exportXAO().
◆ GetOperations()
◆ importXAO()
CORBA::Boolean XAOPlugin_IOperations_i::importXAO |
( |
const bool |
isFile, |
|
|
const char * |
fileName, |
|
|
const SALOMEDS::TMPFile & |
theBuff, |
|
|
GEOM::GEOM_Object_out |
shape, |
|
|
GEOM::ListOfGO_out |
subShapes, |
|
|
GEOM::ListOfGO_out |
groups, |
|
|
GEOM::ListOfFields_out |
fields |
|
) |
| |
|
private |
◆ ImportXAO()
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
- Parameters
-
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 |
- Returns
- boolean indicating if import was successful.
References importXAO(), and GEOM_IOperations_i::IsDone().
◆ ImportXAOMem()
CORBA::Boolean XAOPlugin_IOperations_i::ImportXAOMem |
( |
const SALOMEDS::TMPFile & |
theBuff, |
|
|
GEOM::GEOM_Object_out |
shape, |
|
|
GEOM::ListOfGO_out |
subShapes, |
|
|
GEOM::ListOfGO_out |
groups, |
|
|
GEOM::ListOfFields_out |
fields |
|
) |
| |
Import a shape from XAO format memory buffer
- Parameters
-
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 |
- Returns
- boolean indicating if import was successful.
References importXAO(), and GEOM_IOperations_i::IsDone().
The documentation for this class was generated from the following files: