Version: 5.1.6

MEDMEM.GIBI_MESH_RDONLY_DRIVER Class Reference

#include <MEDMEM_GibiMeshDriver.hxx>

Inheritance diagram for MEDMEM.GIBI_MESH_RDONLY_DRIVER:
Inheritance graph

Public Types

enum  { _xdr_kind_null, _xdr_kind_char, _xdr_kind_int, _xdr_kind_double }

Public Member Functions

 GIBI_MESH_RDONLY_DRIVER ()
 GIBI_MESH_RDONLY_DRIVER (const string &fileName, MESH *ptrMesh)
 GIBI_MESH_RDONLY_DRIVER (const GIBI_MESH_RDONLY_DRIVER &driver)
virtual ~GIBI_MESH_RDONLY_DRIVER ()
void write (void) const throw (MEDEXCEPTION)
void read (void) throw (MEDEXCEPTION)
void open ()
void close ()
bool readFile (_intermediateMED *medi, bool readFields)
void fillMesh (_intermediateMED *medi)
void updateSupports ()
 Create families from groups etc.
GENDRIVERcopy (void) const
bool getLine (char *&line)
bool getNextLine (char *&line, bool raiseIfNot=true) throw (MEDEXCEPTION)
void initNameReading (int nbValues, int width=8)
void initIntReading (int nbValues)
void initDoubleReading (int nbValues)
void init (int nbToRead, int nbPosInLine, int width, int shift=0)
bool more () const
void next ()
char * str () const
int index () const
int getInt () const
float getFloat () const
double getDouble () const
string getName () const

Data Fields

int _File
char * _start
char * _ptr
char * _eptr
int _lineNb
int _iPos
int _nbPosInLine
int _width
int _shift
int _iRead
int _nbToRead
char * _curPos
bool _is_xdr
FILE * _xdrs_file
void * _xdrs
char * _xdr_cvals
int_xdr_ivals
double_xdr_dvals
int _xdr_kind

Member Enumeration Documentation

anonymous enum
Enumerator:
_xdr_kind_null 
_xdr_kind_char 
_xdr_kind_int 
_xdr_kind_double 

Constructor & Destructor Documentation

GIBI_MESH_RDONLY_DRIVER::GIBI_MESH_RDONLY_DRIVER (  ) 

Constructor.

GIBI_MESH_RDONLY_DRIVER::GIBI_MESH_RDONLY_DRIVER ( const string &  fileName,
MESH ptrMesh 
)

Constructor.

References MESSAGE_MED, and MED_EN.RDONLY.

GIBI_MESH_RDONLY_DRIVER::GIBI_MESH_RDONLY_DRIVER ( const GIBI_MESH_RDONLY_DRIVER driver  ) 

Copy constructor.

GIBI_MESH_RDONLY_DRIVER::~GIBI_MESH_RDONLY_DRIVER (  )  [virtual]

Member Function Documentation

void GIBI_MESH_RDONLY_DRIVER::write ( void   )  const throw (MEDEXCEPTION) [virtual]

Return a MEDEXCEPTION : it is the read-only driver.

Implements MEDMEM.GIBI_MESH_DRIVER.

Reimplemented in MEDMEM.GIBI_MESH_RDWR_DRIVER.

void GIBI_MESH_RDONLY_DRIVER::read ( void   )  throw (MEDEXCEPTION) [virtual]
void GIBI_MESH_RDONLY_DRIVER::open ( void   )  [virtual]
void GIBI_MESH_RDONLY_DRIVER::close ( void   )  [virtual]
bool GIBI_MESH_RDONLY_DRIVER::readFile ( _intermediateMED medi,
bool  readFields 
)

References MEDMEM.GIBI_MESH_RDONLY_DRIVER._curPos, MEDMEM._fieldBase._description, MEDMEM._fieldBase._group_id, MEDMEM.GIBI_MESH_RDONLY_DRIVER._iRead, MEDMEM.GIBI_MESH_RDONLY_DRIVER._is_xdr, MEDMEM.GIBI_MESH_RDONLY_DRIVER._nbToRead, MEDMEM._fieldBase._sub, MEDMEM._field< T >.addComponent(), ASSERT_MED, BEGIN_OF_MED, med_field_anal.compName, MEDMEM._noeud.coord, DUMP_LINE_NB, END_OF_MED, MEDMEM._intermediateMED.fields, MEDMEM.GIBI_MESH_RDONLY_DRIVER.getDouble(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.getFloat(), getGroupId(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.getInt(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.getName(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.getNextLine(), MEDMEM.GIBI_MESH_DRIVER.gibi2medGeom(), GIBI_EQUAL, MEDMEM.nameGIBItoMED.gibi_id, MEDMEM.nameGIBItoMED.gibi_pile, MEDMEM._groupe.groupes, MEDMEM._intermediateMED.groupes, HAS_XDR, MEDMEM._fieldBase.hasSameComponentsBySupport(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.index(), INFOS_MED, MEDMEM.GIBI_MESH_RDONLY_DRIVER.initDoubleReading(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.initIntReading(), MEDMEM.GIBI_MESH_RDONLY_DRIVER.initNameReading(), MEDMEM._intermediateMED.insert(), isNamedObject(), Med_Gen_test.it, MEDMEM._groupe.mailles, MEDMEM.nameGIBItoMED.med_id, MED_EN.MED_INT32, MED_EN.MED_NONE, MED_EN.MED_REEL64, MESSAGE_MED, MEDMEM.GIBI_MESH_RDONLY_DRIVER.more(), TestMedCorba2.n, TestMedCorba4.n1, MEDMEM.GIBI_MESH_RDONLY_DRIVER.next(), MEDMEM._groupe.nom, MEDMEM._noeud.number, PILE_COORDONNEES, PILE_FIELD, PILE_FLOATS, PILE_INTEGERS, PILE_LAST_READABLE, PILE_LMOTS, PILE_LOGIQUES, PILE_LREEL, PILE_MODL, PILE_NODES_FIELD, PILE_NOEUDS, PILE_SOUS_MAILLAGE, PILE_STRINGS, PILE_TABLES, MEDMEM._intermediateMED.points, MEDMEM._groupe.refNames, TestMedCorba7.s, TestMedCorba3.s1, TestMedCorba3.s2, setFieldNames(), MEDMEM._maille.setOrdre(), and MEDMEM._maille.sommets.

void GIBI_MESH_RDONLY_DRIVER::fillMesh ( _intermediateMED medi  ) 
void GIBI_MESH_RDONLY_DRIVER::updateSupports (  ) 
GENDRIVER * GIBI_MESH_RDONLY_DRIVER::copy ( void   )  const [virtual]
bool GIBI_MESH_RDONLY_DRIVER::getLine ( char *&  line  ) 
bool MEDMEM.GIBI_MESH_RDONLY_DRIVER.getNextLine ( char *&  line,
bool  raiseIfNot = true 
) throw (MEDEXCEPTION)

References LOCALIZED.

void GIBI_MESH_RDONLY_DRIVER::initNameReading ( int  nbValues,
int  width = 8 
)
void GIBI_MESH_RDONLY_DRIVER::initIntReading ( int  nbValues  ) 
void GIBI_MESH_RDONLY_DRIVER::initDoubleReading ( int  nbValues  ) 
void GIBI_MESH_RDONLY_DRIVER::init ( int  nbToRead,
int  nbPosInLine,
int  width,
int  shift = 0 
)
bool GIBI_MESH_RDONLY_DRIVER::more (  )  const
void GIBI_MESH_RDONLY_DRIVER::next (  ) 
char* MEDMEM.GIBI_MESH_RDONLY_DRIVER.str (  )  const
int MEDMEM.GIBI_MESH_RDONLY_DRIVER.index (  )  const
int GIBI_MESH_RDONLY_DRIVER::getInt (  )  const
float GIBI_MESH_RDONLY_DRIVER::getFloat (  )  const
double GIBI_MESH_RDONLY_DRIVER::getDouble (  )  const
string GIBI_MESH_RDONLY_DRIVER::getName (  )  const

Field Documentation