Evita  0.16
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
evFile Class Reference

#include <evFile.h>

Inheritance diagram for evFile:
Inheritance graph
[legend]
Collaboration diagram for evFile:
Collaboration graph
[legend]

Public Member Functions

 evFile (void)
 
virtual ~evFile (void)
 
virtual const evString GetClassName (void) const
 
evString GetFilename (void)
 
evVersion GetFileVersion (void)
 
int GetMode (void)
 
FILE * GetFilePointer (void)
 
int IsOpen (void)
 
int Open (const evString &filename, const char *mode)
 
virtual int Close (void)
 
virtual int Flush (void)
 
virtual int SetBufferMode (const int mode)
 
int GetPosition (evFilePosition &file_position)
 
int Seek (const evFilePosition file_position)
 
int SkipWhiteSpace (void)
 
int ReadChar (char &value)
 
int WriteChar (const char value)
 
int ReadToken (const evString &token)
 
int ReadToken (const evString &token, int &token_value)
 
int ReadToken (const evString &token, evAddress &token_value)
 
int ReadToken (const evString &token, double &token_value)
 
int ReadToken (const evString &token, evVector &token_value)
 
int ReadToken (const evString &token, evString &token_value)
 
int ReadToken (const evString &token, evVersion &token_value)
 
int WriteToken (const evString &token)
 
int WriteToken (const evString &token, const int token_value)
 
int WriteToken (const evString &token, const evAddress &token_value)
 
int WriteToken (const evString &token, const double token_value)
 
int WriteToken (const evString &token, const evVector &token_value)
 
int WriteToken (const evString &token, const evString &token_value)
 
int WriteToken (const evString &token, const evVersion &token_value)
 
int ReadHeader (evString &class_name)
 
int WriteHeader (const evString &class_name)
 
- Public Member Functions inherited from evDataObject
 evDataObject (void)
 
virtual ~evDataObject (void)
 
- Public Member Functions inherited from evObject
 evObject (void)
 
virtual ~evObject (void)
 
void Print (const int tabbing) const
 
void Print (void) const
 
virtual void PrintSelf (const int tabbing) const
 

Protected Member Functions

int ReadTokenLabel (const evString &token)
 
int WriteTokenLabel (const evString &token)
 
int ReadTokenEndOfLine (void)
 
int WriteTokenEndOfLine (void)
 
- Protected Member Functions inherited from evObject
 evObject (const evObject &object)
 

Protected Attributes

FILE * FilePointer
 
int Mode
 

Private Attributes

evString Filename
 
evVersion FileVersion
 

Constructor & Destructor Documentation

evFile::evFile ( void  )
virtual evFile::~evFile ( void  )
virtual

Member Function Documentation

virtual int evFile::Close ( void  )
virtual

Reimplemented in evChannel.

virtual int evFile::Flush ( void  )
virtual

Reimplemented in evBitBuffer.

virtual const evString evFile::GetClassName ( void  ) const
inlinevirtual

Reimplemented from evDataObject.

Reimplemented in evChannel, and evBitBuffer.

evString evFile::GetFilename ( void  )
inline
FILE * evFile::GetFilePointer ( void  )
inline
evVersion evFile::GetFileVersion ( void  )
inline
int evFile::GetMode ( void  )
inline
int evFile::GetPosition ( evFilePosition file_position)
int evFile::IsOpen ( void  )
inline
int evFile::Open ( const evString filename,
const char *  mode 
)
int evFile::ReadChar ( char &  value)
int evFile::ReadHeader ( evString class_name)
int evFile::ReadToken ( const evString token)
int evFile::ReadToken ( const evString token,
int &  token_value 
)
int evFile::ReadToken ( const evString token,
evAddress token_value 
)
int evFile::ReadToken ( const evString token,
double &  token_value 
)
int evFile::ReadToken ( const evString token,
evVector token_value 
)
int evFile::ReadToken ( const evString token,
evString token_value 
)
int evFile::ReadToken ( const evString token,
evVersion token_value 
)
int evFile::ReadTokenEndOfLine ( void  )
protected
int evFile::ReadTokenLabel ( const evString token)
protected
int evFile::Seek ( const evFilePosition  file_position)
virtual int evFile::SetBufferMode ( const int  mode)
virtual
int evFile::SkipWhiteSpace ( void  )
int evFile::WriteChar ( const char  value)
int evFile::WriteHeader ( const evString class_name)
int evFile::WriteToken ( const evString token)
int evFile::WriteToken ( const evString token,
const int  token_value 
)
int evFile::WriteToken ( const evString token,
const evAddress token_value 
)
int evFile::WriteToken ( const evString token,
const double  token_value 
)
int evFile::WriteToken ( const evString token,
const evVector token_value 
)
int evFile::WriteToken ( const evString token,
const evString token_value 
)
int evFile::WriteToken ( const evString token,
const evVersion token_value 
)
int evFile::WriteTokenEndOfLine ( void  )
protected
int evFile::WriteTokenLabel ( const evString token)
protected

Member Data Documentation

evString evFile::Filename
private
FILE* evFile::FilePointer
protected
evVersion evFile::FileVersion
private
int evFile::Mode
protected

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