Transforms the string representation of a condition with all its sub conditions and parameters into a ICondition
instance.
More...
#include <ConditionParser.h>
Public Member Functions | |
ConditionParser (const IAIFactory &aiFactory, const std::string &conditionString) | |
ConditionPtr | getCondition () |
Public Member Functions inherited from ai::IParser | |
const std::string & | getError () const |
Additional Inherited Members | |
Protected Member Functions inherited from ai::IParser | |
void | setError (const char *msg,...) __attribute__((format(printf |
void void | resetError () |
std::string | getBetween (const std::string &str, const std::string &tokenStart, const std::string &tokenEnd) |
Transforms the string representation of a condition with all its sub conditions and parameters into a ICondition
instance.
#ConditionName{Parameters}
(#SubCondition{SubConditionParameters},...) Parameters and subconditions are both optional.