#ifndef _ABILITY_PARSER_H_ #define _ABILITY_PARSER_H_ #include #include using std::string; using std::vector; using std::map; class AutoLineMacro { private: string mName; string mResult; vector mParams; void parse(const string& s); string process(const string& s); static vector gAutoLineMacros; static map gAutoLineMacrosIndex; public: AutoLineMacro(const string& s); static void Destroy(); static bool AddMacro(const string& s); static string Process(const string& s); }; #endif