class InputFile : public File Input file class.
| | InputFile () |
| | ~InputFile () |
| | Open (const string* file) open a file for reading. |
| | Close () close current the file. |
| | Good () is it a correct file. |
| | Eof () is end of file reached? |
| | LineNumber () return line number. |
| | ReadChar () return next non-white-space char from input. Return -1 on eof. |
| | LookupWord (const char* s) |
| | LookupString (const char* s) |
| | ReadAttribute (const string* name, string* value) a shorthand to lookup a name and read a value from the input file. |
| | ReadAttribute (const char* name, string* value) |
| | ReadAttribute2 ( const string* name, string* value1, string* value2) another shorthand to look up a word and read two word values. |
| | ReadAttribute2 (const char* name, string* value1, string* value2) |
| | ReadAttribute3 (const string* name, string* v1, string* v2, string* v3) another shorthand to look up a word and read three word values. |
| | ReadAttribute3 (const char* name, string* v1, string* v2, string* v3) |
| | ReadStringAttribute (const string* name, string* value) another shorthand to look up a word and read a string value. |
| | ReadStringAttribute (const char* name, string* value) |
| | ReadPair (string* value1, string* value2) |
| | SkipLine () skip rest of line. |
Input file class.
virtual ~InputFile()
void Open(const string* file)
void Close()
bool Good()
bool Eof()
int LineNumber()
int ReadChar()
bool LookupWord(const char* s)
bool LookupString(const char* s)
bool ReadAttribute(const string* name, string* value)
bool ReadAttribute(const char* name, string* value)
bool ReadAttribute2( const string* name, string* value1, string* value2)
bool ReadAttribute2(const char* name, string* value1, string* value2)
bool ReadAttribute3(const string* name, string* v1, string* v2, string* v3)
bool ReadAttribute3(const char* name, string* v1, string* v2, string* v3)
bool ReadStringAttribute(const string* name, string* value)
bool ReadStringAttribute(const char* name, string* value)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de