19#ifndef STRINGLOGICPARSER_HPP
20#define STRINGLOGICPARSER_HPP
41 std::string
evalStringLogic(std::string sLine,
bool& bReturningLogicals);
This class handles all logical operations on string expressions.
std::string prepareComparisonValues(const std::string &_sLine)
Removes masked strings, strips spaces and removes surrounding quotation marks and concatenates the va...
void concatenateStrings(std::string &sExpr)
This member function performs the actual string concatenation of the passed string expression.
std::string evalStringLogic(std::string sLine, bool &bReturningLogicals)
This member function will evaluate logical string expressions in the passed command line.
size_t detectPathTokens(const std::string &sString, size_t nPos)
This member function is a helper for StringLogicParser::detectStringLogicals().
std::vector< std::string > getStringTernaryExpression(std::string &sLine, size_t &nPos)
This member function is a helper for StringLogicParser::evalStringLogic().
std::string evalStringTernary(std::string sLine)
This member function will evaluate the ternary operator for strings.
bool detectStringLogicals(const std::string &sString)
This member function is may detect logical expressions in the passed string expression.