FileParser Class Reference

List of all members.

Public Types

typedef std::map< String,
Array< REAL > > 
Table
typedef std::map< String,
String
StructVals

Public Member Functions

 FileParser (String const &Filename)
 ~FileParser ()
int CurrentLineNumber ()
String GetCurrentLine ()
bool TryGetCurrentLine (String &line)
void Advance ()
void JumpCommentsOrBlanks ()
template<typename Type>
void ReadFirstWord (Type &Val)
bool IsEOF ()
void Reset ()
template<typename Type>
void ReadNextValue (Type &Val)
template<typename Type>
void FindKeyAndFillArray (String const &StrKey, Array< Type > &A)
void SetCommChar (char CommChar)
void StructFile (Tags const *tags, int num_tags, StructVals &values)
void ReadTable (Table &t)

Static Public Member Functions

static bool CheckForFile (String const &Filename)
static String GetBackupFilename (String const &originalFN)

Private Member Functions

void _open (String const &Filename)

Private Attributes

char _comm_char
bool _is_EOF
String _filename
std::ifstream _file
String _str_current_line
int _current_line_num

Classes

struct  Tags

Detailed Description

Definition at line 43 of file fileparser.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 24 15:56:28 2007 for MechSys by  doxygen 1.4.7