#include <vector>
#include <string>
#include <sstream>
#include <cmath>
#include <openfluid/dllexport.hpp>
#include <openfluid/core/TypeDefs.hpp>
Go to the source code of this file.
Namespaces | |
namespace | openfluid |
namespace | openfluid::core |
namespace | openfluid::tools |
Defines | |
#define | STRINGIFY(x) XSTRINGIFY(x) |
#define | XSTRINGIFY(x) #x |
Functions | |
template<typename T > | |
bool | openfluid::tools::ConvertString (const std::string &StrToConvert, T *Converted) |
template<typename T > | |
bool | openfluid::tools::ConvertValue (const T ValueToConvert, std::string *StrConverted) |
void DLLEXPORT | openfluid::tools::TokenizeString (const std::string &StrToTokenize, std::vector< std::string > &Tokens, const std::string &Delimiters) |
bool | openfluid::tools::IsCloseEnough (double A, double B, double Epsilon=0.00001) |
bool | openfluid::tools::IsVeryClose (double A, double B, double Epsilon=0.00001) |
bool DLLEXPORT | openfluid::tools::WildcardMatching (const std::string Pattern, const std::string Str) |
std::vector< std::string > DLLEXPORT | openfluid::tools::GetFilesByExt (const std::string DirToExplore, const std::string Ext, bool WithPath=false, bool ExtIncludeDot=false) |
std::vector< std::string > DLLEXPORT | openfluid::tools::GetFilesBySuffixAndExt (const std::string &DirToExplore, const std::string &Suffix, const std::string &Ext, bool WithPath=false, bool ExtIncludeDot=false) |
std::vector< std::string > DLLEXPORT | openfluid::tools::SplitString (const std::string &StrToSplit, const std::string &Separators, bool ReturnsEmpty=false) |
bool DLLEXPORT | openfluid::tools::EmptyDirectoryRecursively (const std::string DirPath) |
std::vector< std::string > DLLEXPORT | openfluid::tools::getFilesRecursively (const std::string &DirPath) |
std::string DLLEXPORT | openfluid::tools::ReplaceEmptyString (std::string SourceStr, const std::string &ReplaceStr) |
std::string DLLEXPORT | openfluid::tools::RemoveTrailingSlashes (std::string Str) |
void DLLEXPORT | openfluid::tools::printSTDOUT (std::vector< std::string > Strings, std::string Sep) |
void DLLEXPORT | openfluid::tools::CopyDirectoryRecursively (const std::string SourcePath, const std::string IntoPath, const bool DontCopyDotDirs=false) |
void DLLEXPORT | openfluid::tools::CopyDirectoryContentsRecursively (const std::string SourcePath, const std::string IntoPath, const bool DontCopyDotDirs=false) |
int DLLEXPORT | openfluid::tools::CompareVersions (const std::string &VersionA, const std::string &VersionB, bool Strict=true) |
void DLLEXPORT | openfluid::tools::Sleep (const unsigned int MSec) |
#define STRINGIFY | ( | x | ) | XSTRINGIFY(x) |
#define XSTRINGIFY | ( | x | ) | #x |