Version: 6.3.1
Public Member Functions | Protected Attributes | Private Member Functions

MEDMEM.VTK_MESH_DRIVER Class Reference

#include <MEDMEM_VtkMeshDriver.hxx>

Inheritance diagram for MEDMEM.VTK_MESH_DRIVER:
Inheritance graph

Public Member Functions

 VTK_MESH_DRIVER ()
 VTK_MESH_DRIVER (const std::string &fileName, const GMESH *ptrMesh)
 VTK_MESH_DRIVER (const VTK_MESH_DRIVER &driver)
 ~VTK_MESH_DRIVER ()
void open ()
void close ()
void openConst () const throw (MEDEXCEPTION)
void closeConst () const throw (MEDEXCEPTION)
void write (void) const throw (MEDEXCEPTION)
void read (void) throw (MEDEXCEPTION)
void setMeshName (const string &meshName)
string getMeshName () const

Protected Attributes

const GMESH_ptrMesh
std::string _meshName
std::ofstream * _vtkFile
_VTK_BinaryWriter_binaryFile

Private Member Functions

GENDRIVERcopy (void) const
template<typename T >
void writeBinary (const T *data, int nbValues) const throw (MEDEXCEPTION)

Constructor & Destructor Documentation

VTK_MESH_DRIVER::VTK_MESH_DRIVER ( )
VTK_MESH_DRIVER::VTK_MESH_DRIVER ( const std::string &  fileName,
const GMESH ptrMesh 
)
VTK_MESH_DRIVER::VTK_MESH_DRIVER ( const VTK_MESH_DRIVER driver)
VTK_MESH_DRIVER::~VTK_MESH_DRIVER ( )

Member Function Documentation

void VTK_MESH_DRIVER::open ( void  ) [virtual]
void VTK_MESH_DRIVER::close ( void  ) [virtual]
void VTK_MESH_DRIVER::openConst ( ) const throw (MEDEXCEPTION)
void VTK_MESH_DRIVER::closeConst ( ) const throw (MEDEXCEPTION)
void VTK_MESH_DRIVER::write ( void  ) const throw (MEDEXCEPTION) [virtual]
void VTK_MESH_DRIVER::read ( void  ) throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GENDRIVER.

References BEGIN_OF_MED, END_OF_MED, and LOCALIZED.

void VTK_MESH_DRIVER::setMeshName ( const string &  meshName) [virtual]

Set the name of the MESH asked in file.

It could be different than the name of the MESH object.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.VTK_MESH_DRIVER._meshName, and Med_Gen_test.meshName.

string VTK_MESH_DRIVER::getMeshName ( ) const [virtual]

Get the name of the MESH asked in file.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.VTK_MESH_DRIVER._meshName.

GENDRIVER * VTK_MESH_DRIVER::copy ( void  ) const [private, virtual]
template<typename T >
void MEDMEM.VTK_MESH_DRIVER::writeBinary ( const T *  data,
int  nbValues 
) const throw (MEDEXCEPTION) [private]

Field Documentation

std::string MEDMEM.VTK_MESH_DRIVER._meshName [protected]
std::ofstream* MEDMEM.VTK_MESH_DRIVER._vtkFile [mutable, protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS