Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
XAOPlugin_IOperations_i Class Reference

#include <XAOPlugin_IOperations_i.hh>

Inheritance diagram for XAOPlugin_IOperations_i:
Inheritance graph

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_IOperationsGetOperations ()
 
- 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_IOperationsGetImpl ()
 
virtual void UpdateGUIForObject (GEOM::GEOM_Object_ptr theObj)
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Parameters
shapeThe shape to export
groupsThe list of groups to export
fieldsThe list of fields to export
authorThe author of the export
fileNameThe name of the exported file
shapeFileNameIf not empty, save to shape to this external file
Returns
boolean indicating if export was succeful.

References XAOPlugin_IOperations::ExportXAO(), GetOperations(), Handle(), and GEOM_IOperations::SetNotDone().

XAOPlugin_IOperations * XAOPlugin_IOperations_i::GetOperations ( )
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
fileNameThe name of the file to import
shapeThe imported shape
subShapesThe list of imported subShapes
groupsThe list of imported groups
fieldsThe list of imported fields
Returns
boolean indicating if import was succeful.

References GEOM_IOperations_i::GetBaseObject(), GetOperations(), Handle(), XAOPlugin_IOperations::ImportXAO(), GEOM_IOperations_i::IsDone(), and GEOM_IOperations::SetNotDone().


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