Back to index

salome-med  6.5.0
Public Member Functions | Protected Attributes
SauvUtilities::FileReader Class Reference

Base class for ASCII and XDR file readers. More...

#include <SauvUtilities.hxx>

Inheritance diagram for SauvUtilities::FileReader:
Inheritance graph
[legend]
Collaboration diagram for SauvUtilities::FileReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FileReader (const char *fileName)
 Remember the file name.
virtual ~FileReader ()
virtual bool isASCII () const =0
virtual bool open ()=0
virtual bool getNextLine (char *&line, bool raiseOEF=true)=0
virtual void initNameReading (int nbValues, int width=8)=0
virtual void initIntReading (int nbValues)=0
virtual void initDoubleReading (int nbValues)=0
virtual bool more () const =0
virtual void next ()=0
virtual int index () const
virtual int getInt () const =0
virtual float getFloat () const =0
virtual double getDouble () const =0
virtual std::string getName () const =0
def incrRef
def getHiddenCppPointer

Protected Attributes

std::string _fileName
std::string _curLocale
int _iRead
int _nbToRead

Detailed Description

Base class for ASCII and XDR file readers.

Definition at line 93 of file SauvUtilities.hxx.


Constructor & Destructor Documentation

FileReader::FileReader ( const char *  fileName)

Remember the file name.

Definition at line 443 of file SauvMedConvertor.cxx.

virtual SauvUtilities::FileReader::~FileReader ( ) [inline, virtual]

Definition at line 97 of file SauvUtilities.hxx.

{}

Member Function Documentation

virtual double SauvUtilities::FileReader::getDouble ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual float SauvUtilities::FileReader::getFloat ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

getHiddenCppPointer(self) -> string

1

Definition at line 345 of file ParaMEDMEM.py.

00345 
00346     def getHiddenCppPointer(self):
00347         """
00348         getHiddenCppPointer(self) -> string
00349 
00350         1
00351         """
00352         return _ParaMEDMEM.RefCountObject_getHiddenCppPointer(self)

virtual int SauvUtilities::FileReader::getInt ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual std::string SauvUtilities::FileReader::getName ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual bool SauvUtilities::FileReader::getNextLine ( char *&  line,
bool  raiseOEF = true 
) [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

def ParaMEDMEM.RefCountObject.incrRef (   self) [inherited]
incrRef(self)

1

Definition at line 337 of file ParaMEDMEM.py.

00337 
00338     def incrRef(self):
00339         """
00340         incrRef(self)
00341 
00342         1
00343         """
00344         return _ParaMEDMEM.RefCountObject_incrRef(self)

virtual int SauvUtilities::FileReader::index ( ) const [inline, virtual]

Definition at line 107 of file SauvUtilities.hxx.

{ return _iRead; }

Here is the caller graph for this function:

virtual void SauvUtilities::FileReader::initDoubleReading ( int  nbValues) [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual void SauvUtilities::FileReader::initIntReading ( int  nbValues) [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual void SauvUtilities::FileReader::initNameReading ( int  nbValues,
int  width = 8 
) [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual bool SauvUtilities::FileReader::isASCII ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual bool SauvUtilities::FileReader::more ( ) const [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual void SauvUtilities::FileReader::next ( ) [pure virtual]

Implemented in SauvUtilities::XDRReader, and SauvUtilities::ASCIIReader.

Here is the caller graph for this function:

virtual bool SauvUtilities::FileReader::open ( ) [pure virtual]

Member Data Documentation

std::string SauvUtilities::FileReader::_curLocale [protected]

Definition at line 114 of file SauvUtilities.hxx.

std::string SauvUtilities::FileReader::_fileName [protected]

Definition at line 114 of file SauvUtilities.hxx.

Definition at line 115 of file SauvUtilities.hxx.

Definition at line 115 of file SauvUtilities.hxx.


The documentation for this class was generated from the following files: