33 unsigned long int findIgnoringParenthesis(
const std::string& str,
const std::string& pattern,
unsigned int begin = 0);
bool almostEqualFloat(const float &a, const float &b)
Helper function to test if two floats are almost equal.
unsigned long int findMatchedParenthesis(const std::string &str, char open='[', char close=']')
Returns position of the matched closing parenthesis if the first character in the given string contai...
std::vector< std::string > splitOnDelimiterAndConserveParenthesis(const std::string &str, char delimiter, char open, char close)
Split into std::vector on delimiter ignoring delimiters between parenthesis.
unsigned long int findIgnoringParenthesis(const std::string &str, const std::string &pattern, unsigned int begin=0)
Returns the position of a pattern in a string ignoring everything that is in parenthesis.
bool almostEqualDouble(const double &a, const double &b)
Helper function to test if two doubles are almost equal.
Abstract base class for different kinds of events.