
Classes | |
| class | ColumnTextParser |
| class | DataSourcesFile |
| class | DistributeInterpolate |
| class | DateTimeSerie |
Functions | |
| template<typename T > | |
| bool | ConvertString (const std::string &StrToConvert, T *Converted) |
| template<typename T > | |
| bool | ConvertValue (const T ValueToConvert, std::string *StrConverted) |
| void | 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 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 |
| 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 |
| void 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 |
Creative Commons By-NC-ND license