Transforms the string representation of a TreeNode
with all its parameters into a TreeNode
instance.
More...
#include <TreeNodeParser.h>
Public Member Functions | |
TreeNodeParser (const IAIFactory &aiFactory, const std::string &taskString) | |
TreeNodePtr | getTreeNode (const std::string &name="") |
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 TreeNode
with all its parameters into a TreeNode
instance.
#NodeName{Parameters}
Parameters are by default optional - but that really depends on the TreeNode
implementation.