Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkDX Class Reference

Utility class for DataExchange. More...

#include <exotkDX.hxx>

List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC new. More...


Static Public Methods

Standard_EXPORT Standard_Boolean RegisterPlugin (const Handle_exotkPlugin_Plugin &aPlugin)
 Register aPlugin. More...

Standard_EXPORT Standard_Boolean LoadShape (const TCollection_AsciiString &aFilename, TopoDS_Shape &aReturnedShape)
 Load aReturnedshape from \aFilename. More...

Standard_EXPORT Standard_Boolean LoadShapes (const TCollection_AsciiString &aFilename, Handle_TopTools_HSequenceOfShape &aReturnedSequenceOfShapes)
 Load a aReturnedSequenceOfShapes from aFilename. More...

Standard_EXPORT Standard_Boolean SaveShape (const TCollection_AsciiString &aFilename, const TopoDS_Shape &aShapeToSave)
 Save aShapeToSave in aFilename. More...

Standard_EXPORT Standard_Boolean SaveShapes (const TCollection_AsciiString &aFilename, const Handle_TopTools_HSequenceOfShape &aSequenceOfShapesToSave)
 Save aSequenceOfShapesToSave in aFilename. More...

Standard_EXPORT Handle_TColStd_HSequenceOfTransient ImportFileDestriptors ()
 Return the FileDestrictors for the import. More...

Standard_EXPORT Handle_TColStd_HSequenceOfTransient ExportFileDestriptors ()
 Return the FileDestrictors for the export. More...


Static Private Methods

Handle_exotkDX_Root FindPluginRoot (const TCollection_AsciiString &aFilename)
 Find the good plugin for aFilename. More...


Detailed Description

Utility class for DataExchange.

Author:
Stephane Routelous

Definition at line 54 of file exotkDX.hxx.


Member Function Documentation

exotkDX::ExportFileDestriptors   [static]
 

Return the FileDestrictors for the export.

Returns:
Handle_TColStd_HSequenceOfTransient

Definition at line 234 of file exotkDX.cxx.

References Handle_exotkDX_Root::DownCast().

exotkDX::FindPluginRoot const TCollection_AsciiString &    aFilename [static, private]
 

Find the good plugin for aFilename.

Returns:
Handle_exotkDX_Root
Parameters:
aFilename  const TCollection_AsciiString&

Definition at line 117 of file exotkDX.cxx.

References Handle_exotkDX_Root::DownCast().

Referenced by LoadShape(), LoadShapes(), SaveShape(), and SaveShapes().

exotkDX::ImportFileDestriptors   [static]
 

Return the FileDestrictors for the import.

Returns:
Handle_TColStd_HSequenceOfTransient

Definition at line 206 of file exotkDX.cxx.

References Handle_exotkDX_Root::DownCast().

exotkDX::LoadShape const TCollection_AsciiString &    aFilename,
TopoDS_Shape &    aReturnedShape
[static]
 

Load aReturnedshape from \aFilename.

Returns:
Standard_Boolean : true if success
Parameters:
aFilename  const TCollection_AsciiString&
Return values:
aReturnedShape  TopoDS_Shape&

Definition at line 140 of file exotkDX.cxx.

References exotkTrace::Debug(), exotkTrace::Error(), and FindPluginRoot().

exotkDX::LoadShapes const TCollection_AsciiString &    aFilename,
Handle_TopTools_HSequenceOfShape &    aReturnedSequenceOfShapes
[static]
 

Load a aReturnedSequenceOfShapes from aFilename.

Returns:
Standard_Boolean : true if success
Parameters:
aFilename  const TCollection_AsciiString&
Return values:
aReturnedSequenceOfShapes  Handle_TopTools_HSequenceOfShape&

Definition at line 162 of file exotkDX.cxx.

References exotkTrace::Debug(), exotkTrace::Error(), and FindPluginRoot().

Referenced by exotkAF_Document::OpenFile().

void exotkDX::operator delete void *    anAddress [inline]
 

OCC new.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 87 of file exotkDX.hxx.

void * exotkDX::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 76 of file exotkDX.hxx.

void * exotkDX::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 65 of file exotkDX.hxx.

exotkDX::RegisterPlugin const Handle_exotkPlugin_Plugin   aPlugin [static]
 

Register aPlugin.

Returns:
Standard_Boolean : true if success
Parameters:
aPlugin  const Handle_exotkPlugin_Plugin&

Definition at line 78 of file exotkDX.cxx.

References CREATE_FCT, PLUGINID_FCT, and exotkTrace_Datas::theRoot.

Referenced by exotkAF_Application::DispatchPlugin().

exotkDX::SaveShape const TCollection_AsciiString &    aFilename,
const TopoDS_Shape &    aShapeToSave
[static]
 

Save aShapeToSave in aFilename.

Returns:
Standard_Boolean : true if success
Parameters:
aFilename  const TCollection_AsciiString&
aShapeToSave  const TopoDS_Shape&

Definition at line 183 of file exotkDX.cxx.

References FindPluginRoot().

exotkDX::SaveShapes const TCollection_AsciiString &    aFilename,
const Handle_TopTools_HSequenceOfShape &    aSequenceOfShapesToSave
[static]
 

Save aSequenceOfShapesToSave in aFilename.

Returns:
Standard_Boolean : true if success
Parameters:
aFilename  const TCollection_AsciiString&
aSequenceOfShapesToSave  const Handle_TopTools_HSequenceOfShape&

Definition at line 194 of file exotkDX.cxx.

References FindPluginRoot().

Referenced by exotkAF_Document::SaveFile().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:33 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001