00001 #ifndef METHOD_H 00002 #define METHOD_H 00003 00004 #include "string" 00005 00006 class Any; 00007 class Method; 00008 00009 class MethodLexicographicSort 00010 { 00011 public: 00012 bool operator()( const Method& op1, const Method& op2) const; 00013 }; 00014 00015 00016 class Method 00017 { 00018 public: 00019 bool m_virtual; 00020 bool m_static; 00021 bool m_template; 00022 std::string m_returnValue; 00023 std::string m_signature; 00024 std::string m_implementation; 00025 std::string m_comment; 00026 Any * m_container; 00027 00028 std::string getHeader(); 00029 std::string getSource(); 00030 std::string getExposed( const std::string& repl_containter); 00031 std::string getHidden(); 00032 00033 Method(); 00034 operator bool(); 00035 }; 00036 00037 00038 00039 #endif