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

MEDMEM.TYPE_MESH_DRIVER Class Reference

#include <MEDMEM_TypeMeshDriver.hxx>

Inheritance diagram for MEDMEM.TYPE_MESH_DRIVER:
Inheritance graph

Public Member Functions

 TYPE_MESH_DRIVER ()
 TYPE_MESH_DRIVER (const std::string &fileName, MESH *ptrMesh, med_mode_acces accessMode)
 TYPE_MESH_DRIVER (const TYPE_MESH_DRIVER &driver)
virtual ~TYPE_MESH_DRIVER ()
void open () throw (MEDEXCEPTION)
void close () throw (MEDEXCEPTION)
virtual void write (void) const =0
virtual void read (void)=0
void setMeshName (const string &meshName)
string getMeshName () const

Protected Attributes

MESH_ptrMesh
string _meshName

Private Member Functions

virtual GENDRIVERcopy (void) const =0

Constructor & Destructor Documentation

TYPE_MESH_DRIVER::TYPE_MESH_DRIVER ( )

Constructor.

MEDMEM.TYPE_MESH_DRIVER.TYPE_MESH_DRIVER ( const std::string &  fileName,
MESH ptrMesh,
med_mode_acces  accessMode 
)

Constructor.

TYPE_MESH_DRIVER::TYPE_MESH_DRIVER ( const TYPE_MESH_DRIVER driver)

Copy constructor.

TYPE_MESH_DRIVER::~TYPE_MESH_DRIVER ( ) [virtual]

Destructor.


Member Function Documentation

void TYPE_MESH_DRIVER::open ( void  ) throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GENDRIVER.

References BEGIN_OF_MED, and END_OF_MED.

void TYPE_MESH_DRIVER::close ( void  ) throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GENDRIVER.

References BEGIN_OF_MED, and END_OF_MED.

virtual void MEDMEM.TYPE_MESH_DRIVER.write ( void  ) const [pure virtual]
virtual void MEDMEM.TYPE_MESH_DRIVER.read ( void  ) [pure virtual]
void TYPE_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.TYPE_MESH_DRIVER._meshName, and Med_Gen_test.meshName.

string TYPE_MESH_DRIVER::getMeshName ( ) const [virtual]

Get the name of the MESH asked in file.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.TYPE_MESH_DRIVER._meshName.

virtual GENDRIVER* MEDMEM.TYPE_MESH_DRIVER.copy ( void  ) const [private, pure virtual]

Field Documentation

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