2
0

XmlRpcClass.hpp 584 B

12345678910111213141516171819202122
  1. #include <vector>
  2. class XmlRpcClass {
  3. // An object of this class contains information about a proxy
  4. // class, and knows how to generate code.
  5. std::string mClassName;
  6. std::vector<XmlRpcFunction> mFunctions;
  7. public:
  8. XmlRpcClass (std::string const& className);
  9. XmlRpcClass(XmlRpcClass const&);
  10. XmlRpcClass& operator= (XmlRpcClass const&);
  11. std::string className () const { return mClassName; }
  12. void addFunction (const XmlRpcFunction& function);
  13. void printDeclaration (ostream& out) const;
  14. void printDefinition (ostream& out) const;
  15. };