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

MEDMEM.GIBI_MESH_RDONLY_DRIVER Class Reference

#include <MEDMEM_GibiMeshDriver.hxx>

Inheritance diagram for MEDMEM.GIBI_MESH_RDONLY_DRIVER:
Inheritance graph

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 ()

Protected Member Functions

bool readFile (_intermediateMED *medi, bool readFields)
void fillMesh (_intermediateMED *medi)
void updateSupports ()
 Create families from groups etc.

Private Types

enum  { _xdr_kind_null, _xdr_kind_char, _xdr_kind_int, _xdr_kind_double }

Private Member Functions

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

Private Attributes

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 [private]
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 
) [protected]
void GIBI_MESH_RDONLY_DRIVER::fillMesh ( _intermediateMED medi) [protected]
void GIBI_MESH_RDONLY_DRIVER::updateSupports ( ) [protected]
GENDRIVER * GIBI_MESH_RDONLY_DRIVER::copy ( void  ) const [private, virtual]
bool GIBI_MESH_RDONLY_DRIVER::getLine ( char *&  line) [private]
bool MEDMEM.GIBI_MESH_RDONLY_DRIVER.getNextLine ( char *&  line,
bool  raiseIfNot = true 
) throw (MEDEXCEPTION) [private]

References LOCALIZED.

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

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