Documentation for OpenFLUID 2.2.0
MiscHelpers.hpp File Reference

Detailed Description

#include <vector>
#include <string>
#include <cmath>
#include <openfluid/dllexport.hpp>
#include <openfluid/core/TypeDefs.hpp>
Include dependency graph for MiscHelpers.hpp:

Go to the source code of this file.

Namespaces

 openfluid
 
 openfluid::tools
 

Macros

#define STRINGIFY(x)
 
#define XSTRINGIFY(x)
 

Functions

bool OPENFLUID_API openfluid::tools::matchWithWildcard (const std::string &Pattern, const std::string &Str)
 
std::string OPENFLUID_API openfluid::tools::replaceEmptyString (std::string SourceStr, const std::string &ReplaceStr)
 
int OPENFLUID_API openfluid::tools::compareVersions (const std::string &VersionA, const std::string &VersionB)
 
int OPENFLUID_API openfluid::tools::compareOpenFLUIDVersions (const std::string &VersionA, const std::string &VersionB, bool Strict=true)
 
void OPENFLUID_API openfluid::tools::millisleep (const unsigned long MSec)
 
void OPENFLUID_API openfluid::tools::microsleep (const unsigned long USec)
 
std::string OPENFLUID_API openfluid::tools::getNowAsString (const std::string &Format)
 
std::string OPENFLUID_API openfluid::tools::generatePseudoUniqueIdentifier (const unsigned int Length)
 
std::string OPENFLUID_API openfluid::tools::escapePattern (const std::string &Str)
 
std::string OPENFLUID_API openfluid::tools::escapeString (const std::string &Str)
 
std::pair< int, int > OPENFLUID_API openfluid::tools::fromGeometryString (const std::string &Str, const std::string &GeomInfo)
 
std::string OPENFLUID_API openfluid::tools::toGeometryString (const std::string &GeomInfo, int Value1, int Value2)
 

Macro Definition Documentation

◆ STRINGIFY

#define STRINGIFY (   x)

◆ XSTRINGIFY

#define XSTRINGIFY (   x)