|
| static char * | ConstructDateAndTimeStamp () |
| |
| static std::string | FixSlashesInFilePath (const std::string &path) |
| |
| static void | SetScientific (bool aTrueFalse) |
| |
| static bool | GetScientific () |
| |
| static void | SetGFormatForDoubleOutput (bool aTrueFalse) |
| |
| static bool | GetGFormatForDoubleOutput () |
| |
| static void | SetDigitsPad (int aPad) |
| |
| static int | GetDigitsPad () |
| |
| static void | SetPrecision (int aPlaces) |
| |
| static int | GetPrecision () |
| |
| static const char * | GetDoubleOutputFormat () |
| |
| static void | SetPrintOfflineDocuments (bool aTrueFalse) |
| |
| static bool | GetPrintOfflineDocuments () |
| |
| static std::string | ReadToTokenLine (std::istream &aIS, const std::string &aToken) |
| |
| static std::string | ReadLine (std::istream &aIS) |
| |
| static int | ComputeNumberOfSteps (double aTI, double aTF, double aDT) |
| |
| static std::string | ReadCharacters (std::istream &aIS, int aNChar) |
| |
| static bool | FileExists (const std::string &filePath) |
| |
| static FILE * | OpenFile (const std::string &aFileName, const std::string &aMode) |
| |
| static std::ifstream * | OpenInputFile (const std::string &aFileName, std::ios_base::openmode mode=std::ios_base::in) |
| |
| static std::ofstream * | OpenOutputFile (const std::string &aFileName, std::ios_base::openmode mode=std::ios_base::out) |
| |
| static int | makeDir (const std::string &aDirName) |
| |
| static int | chDir (const std::string &aDirName) |
| |
| static std::string | getCwd () |
| |
| static std::string | getParentDirectory (const std::string &fileName) |
| |
| static std::string | GetFileNameFromURI (const std::string &aURI) |
| |
| static std::string | formatText (const std::string &aComment, const std::string &leadingWhitespace, int width, const std::string &endlineTokenToInsert="\n") |
| |
| static std::string | GetSuffix (const std::string &aStr, int aLen) |
| |
| static void | RemoveSuffix (std::string &rStr, int aLen) |
| |
| static std::string | replaceSubstring (const std::string &aStr, const std::string &aFrom, const std::string &aTo) |
| |
| static void | TrimLeadingWhitespace (std::string &rStr) |
| |
| static void | TrimTrailingWhitespace (std::string &rStr) |
| |
| static void | TrimWhitespace (std::string &rStr) |
| |
| static std::string | Lowercase (const std::string &aStr) |
| |
| static std::string | Uppercase (const std::string &aStr) |
| |
| static bool | StartsWith (const std::string &string, const std::string &start) |
| | Determine if string starts with the substring start. More...
|
| |
| static bool | EndsWith (const std::string &string, const std::string &ending) |
| | Determine if string ends with the substring ending. More...
|
| |
| static bool | StartsWithIgnoringCase (const std::string &string, const std::string &start) |
| | Same as StartsWith() except both arguments are first converted to lowercase before performing the check. More...
|
| |
| static bool | EndsWithIgnoringCase (const std::string &string, const std::string &ending) |
| | Same as EndsWith() except both arguments are first converted to lowercase before performing the check. More...
|
| |
| static void | eraseEmptyElements (std::vector< std::string > &list) |
| |
A class for performing input and output with OpenSim API.
- Version
- 1.0
- Author
- Frank C. Anderson