#include <File.h>
Public Member Functions | |
| void | CloseFile () |
| File (std::string, bool bOut=true, bool bAppend=false) | |
| char * | GetNextCommentLine () |
| double | GetNextDouble () |
| std::vector< double > | GetNextDoubleVector () |
| int | GetNextInt () |
| std::vector< int > | GetNextIntVector () |
| char * | GetNextWord () |
| bool | Invalid () |
| void | RestartReading () |
| void | WriteDouble (const double dValue) |
| void | WriteDoubleLimLength (const double dValue, const int nDigits=1) |
| void | WriteInt (const int nValue) |
| void | WriteIntAsHex (int nValue) |
| void | WriteLine (const char *stLine) |
| void | WriteSingleDouble (const double dValue) |
| void | WriteSingleInt (int nValue) |
| void | WriteSingleIntAsHex (int nValue) |
| void | WriteVector (std::vector< int > viData) |
| void | WriteVector (std::vector< double > vdData) |
| ~File (void) | |
Private Attributes | |
| std::fstream | m_file |
| char * | nextElem |
| linfile::File::File | ( | std::string | filename, |
| bool | bOut = true, |
||
| bool | bAppend = false |
||
| ) |
| linfile::File::~File | ( | void | ) |
| void linfile::File::CloseFile | ( | ) | [inline] |
| char * linfile::File::GetNextCommentLine | ( | ) |
| double linfile::File::GetNextDouble | ( | ) |
| std::vector< double > linfile::File::GetNextDoubleVector | ( | ) |
| int linfile::File::GetNextInt | ( | ) |
| std::vector< int > linfile::File::GetNextIntVector | ( | ) |
| char * linfile::File::GetNextWord | ( | ) |
| bool linfile::File::Invalid | ( | ) | [inline] |
| void linfile::File::RestartReading | ( | ) | [inline] |
| void linfile::File::WriteDouble | ( | const double | dValue | ) |
| void linfile::File::WriteDoubleLimLength | ( | const double | dValue, |
| const int | nDigits = 1 |
||
| ) |
| void linfile::File::WriteInt | ( | const int | nValue | ) |
| void linfile::File::WriteIntAsHex | ( | int | nValue | ) |
| void linfile::File::WriteLine | ( | const char * | stLine | ) |
| void linfile::File::WriteSingleDouble | ( | const double | dValue | ) |
| void linfile::File::WriteSingleInt | ( | int | nValue | ) |
| void linfile::File::WriteSingleIntAsHex | ( | int | nValue | ) |
| void linfile::File::WriteVector | ( | std::vector< int > | viData | ) |
| void linfile::File::WriteVector | ( | std::vector< double > | vdData | ) |
std::fstream linfile::File::m_file [private] |
char* linfile::File::nextElem [private] |