
Classes | |
| class | ColumnTextParser |
| class | CURLDownloader |
| class | DataSourcesFile |
| class | DistributeInterpolate |
| struct | TimePair |
| class | IndexedSerie |
| class | DateTimeSerie |
Typedefs | |
| typedef std::map< int, std::string > | IDDataSourcesMap |
| typedef std::map< int, DateTimeSerie * > | DTSeriesMap |
| typedef std::map< int, DateTimeSerie * > | UnitsDTSeriesMap |
| typedef std::map< int, IndexedSerie * > | IndexedSeriesMap |
| typedef std::map< int, IndexedSerie * > | UnitsIndexedSeriesMap |
Enumerations | |
| enum | SeriePreprocess { SERIEPREPCS_NONE, SERIEPREPCS_CUMULATE } |
Functions | |
| template<typename T > | |
| bool | ConvertString (const std::string &StrToConvert, T *Converted) |
| template<typename T > | |
| bool | ConvertValue (const T ValueToConvert, std::string *StrConverted) |
| void DLLEXPORT | TokenizeString (const std::string &StrToTokenize, std::vector< std::string > &Tokens, const std::string &Delimiters) |
| bool | IsCloseEnough (double A, double B, double Epsilon=0.00001) |
| bool | IsVeryClose (double A, double B, double Epsilon=0.00001) |
| bool DLLEXPORT | WildcardMatching (const std::string Pattern, const std::string Str) |
| std::vector< std::string > DLLEXPORT | GetFilesByExt (const std::string DirToExplore, const std::string Ext, bool WithPath=false, bool ExtIncludeDot=false) |
| std::vector< std::string > | SplitString (const std::string StrToSplit, const std::string Separators, bool ReturnsEmpty=false) |
| bool DLLEXPORT | EmptyDirectoryRecursively (const std::string DirPath) |
| std::string DLLEXPORT | ReplaceEmptyString (std::string SourceStr, const std::string &ReplaceStr) |
| std::string DLLEXPORT | RemoveTrailingSlashes (std::string Str) |
| void DLLEXPORT | printSTDOUT (std::vector< std::string > Strings, std::string Sep) |
| openfluid::core::DateTime DLLEXPORT | GenerateDateTimeFromStep (openfluid::core::DateTime DT0, openfluid::core::TimeStep_t TS, unsigned int CurrentStep) |
| void DLLEXPORT | CopyDirectoryRecursively (const std::string SourcePath, const std::string IntoPath, const bool DontCopyDotDirs=false) |
| std::vector< std::string > DLLEXPORT | GetFileLocationsUsingPATHEnvVar (const std::string Filename) |
| int DLLEXPORT | CompareVersions (const std::string &VersionA, const std::string &VersionB, bool Strict=true) |
| bool DLLEXPORT | OpenURLInBrowser (const std::string &URL) |
| typedef std::map<int,DateTimeSerie*> openfluid::tools::DTSeriesMap |
| typedef std::map<int,std::string> openfluid::tools::IDDataSourcesMap |
| typedef std::map<int,IndexedSerie*> openfluid::tools::IndexedSeriesMap |
| typedef std::map<int,DateTimeSerie*> openfluid::tools::UnitsDTSeriesMap |
| typedef std::map<int,IndexedSerie*> openfluid::tools::UnitsIndexedSeriesMap |
| int DLLEXPORT openfluid::tools::CompareVersions | ( | const std::string & | VersionA, |
| const std::string & | VersionB, | ||
| bool | Strict = true |
||
| ) |
Compare 2 OpenFLUID software versions. Version number must be formed as major.minor.patch[~status]
| [in] | VersionA | the first version number |
| [in] | VersionB | the second version number |
| [in] | Strict | If true, the comparison include the status part of the version (it ignores it otherwise) |
| bool openfluid::tools::ConvertString | ( | const std::string & | StrToConvert, |
| T * | Converted | ||
| ) | [inline] |
Template function for string to other type conversion
| [in] | StrToConvert | the string to convert |
| [out] | Converted | the result of the conversion |
| bool openfluid::tools::ConvertValue | ( | const T | ValueToConvert, |
| std::string * | StrConverted | ||
| ) | [inline] |
Template function for value to string conversion
| [in] | ValueToConvert | the value to convert |
| [out] | StrConverted | the result of the conversion |
| void DLLEXPORT openfluid::tools::CopyDirectoryRecursively | ( | const std::string | SourcePath, |
| const std::string | IntoPath, | ||
| const bool | DontCopyDotDirs = false |
||
| ) |
| bool DLLEXPORT openfluid::tools::EmptyDirectoryRecursively | ( | const std::string | DirPath | ) |
| openfluid::core::DateTime DLLEXPORT openfluid::tools::GenerateDateTimeFromStep | ( | openfluid::core::DateTime | DT0, |
| openfluid::core::TimeStep_t | TS, | ||
| unsigned int | CurrentStep | ||
| ) |
| std::vector<std::string> DLLEXPORT openfluid::tools::GetFileLocationsUsingPATHEnvVar | ( | const std::string | Filename | ) |
| std::vector<std::string> DLLEXPORT openfluid::tools::GetFilesByExt | ( | const std::string | DirToExplore, |
| const std::string | Ext, | ||
| bool | WithPath = false, |
||
| bool | ExtIncludeDot = false |
||
| ) |
Get list of files with specified extension contained in the specified dir
| [in] | DirToExplore | the directory to explore |
| [in] | Ext | the file extension |
| [in] | WithPath | return full path with file name if true, file name only otherwise |
| [in] | ExtIncludeDot | if true, the given extension through Ext parameter is suffixed by a dot |
| bool openfluid::tools::IsCloseEnough | ( | double | A, |
| double | B, | ||
| double | Epsilon = 0.00001 |
||
| ) | [inline] |
Function for testing equality between two double precision floats, using the "close enough" method.
| [in] | A | the firts term of the equality |
| [in] | B | the firts term of the equality |
| [in] | Epsilon | the comparison tolerance factor |
| bool openfluid::tools::IsVeryClose | ( | double | A, |
| double | B, | ||
| double | Epsilon = 0.00001 |
||
| ) | [inline] |
Function for testing equality between two double precision floats, using the "very close" method.
| [in] | A | the firts term of the equality |
| [in] | B | the firts term of the equality |
| [in] | Epsilon | the comparison tolerance factor |
| bool DLLEXPORT openfluid::tools::OpenURLInBrowser | ( | const std::string & | URL | ) |
| void DLLEXPORT openfluid::tools::printSTDOUT | ( | std::vector< std::string > | Strings, |
| std::string | Sep | ||
| ) |
| std::string DLLEXPORT openfluid::tools::RemoveTrailingSlashes | ( | std::string | Str | ) |
| std::string DLLEXPORT openfluid::tools::ReplaceEmptyString | ( | std::string | SourceStr, |
| const std::string & | ReplaceStr | ||
| ) |
| std::vector<std::string> openfluid::tools::SplitString | ( | const std::string | StrToSplit, |
| const std::string | Separators, | ||
| bool | ReturnsEmpty = false |
||
| ) | [inline] |
Splits the passed string into a std::string array, split using the given SepString
| [in] | StrToSplit | the string to split |
| [in] | Separators | the string of separators used to split the string |
| [in] | ReturnsEmpty | if true, the empty strings are returned |
| void DLLEXPORT openfluid::tools::TokenizeString | ( | const std::string & | StrToTokenize, |
| std::vector< std::string > & | Tokens, | ||
| const std::string & | Delimiters | ||
| ) |
Function for tokenizing string into a vector of tokens
| [in] | StrToTokenize | the string to tokenize |
| [out] | Tokens | the resulting tokens |
| [in] | Delimiters | the string delimiter |
| bool DLLEXPORT openfluid::tools::WildcardMatching | ( | const std::string | Pattern, |
| const std::string | Str | ||
| ) |
Creative Commons By-NC-ND license