![]() |
Parasol Planning Library (PPL)
|
Functions | |
void | VDInit (string _filename) |
@TODO More... | |
void | VDClose () |
@TODO More... | |
void | VDComment (string _s) |
@TODO More... | |
void | VDClearAll () |
@TODO More... | |
void | VDClearLastTemp () |
@TODO More... | |
void | VDClearComments () |
@TODO More... | |
bool | FileExists (const string &_filename) |
void | GoToNext (istream &_is) |
bool | IsCommentLine (const char _c) |
string | GetPathName (const string &_filename) |
string | ReadFieldString (istream &_is, CountingStreamBuffer &_cbs, const string &_desc, bool _toUpper) |
vector< string > | GetTokens (string _s, string _delimiters) |
Variables | |
ofstream * | vdo = nullptr |
@TODO More... | |
bool FileExists | ( | const std::string & | _filename | ) |
Determine whether a file exists.
_filename | The name of the file to check. |
string GetPathName | ( | const std::string & | _filename | ) |
Get directory path from filename
_filename | Filename |
vector<string> GetTokens | ( | std::string | _s, |
std::string | _delimiters | ||
) |
Split string based on delimiter.
_s | The string to split. |
_delimiters | The delimiters to split on. |
void GoToNext | ( | std::istream & | _is | ) |
Discard all commented lines until the next uncommented line is found
_is | Stream |
bool IsCommentLine | ( | const char | _c | ) |
Determines if character starts a comment ('#')
_c | Character in question |
string ReadFieldString | ( | std::istream & | _is, |
CountingStreamBuffer & | _cbs, | ||
const std::string & | _desc, | ||
const bool | _toUpper = true |
||
) |
Read string from stream
_is | Stream |
_cbs | Counting stream buffer |
_desc | String describing field |
_toUpper | True means convert string to all upper case |
void VDClearAll | ( | ) |
@TODO
void VDClearComments | ( | ) |
@TODO
void VDClearLastTemp | ( | ) |
@TODO
void VDClose | ( | ) |
@TODO
void VDComment | ( | string | _s | ) |
@TODO
void VDInit | ( | string | _filename | ) |
@TODO
ofstream* vdo = nullptr |
@TODO