SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | List of all members
ai::ConditionParser Class Reference

Transforms the string representation of a condition with all its sub conditions and parameters into a ICondition instance. More...

#include <ConditionParser.h>

Inheritance diagram for ai::ConditionParser:
[legend]
Collaboration diagram for ai::ConditionParser:
[legend]

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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: