2006-12-21 03:57:49 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
class XmlRpcClass {
|
2008-05-23 20:56:24 +00:00
|
|
|
// An object of this class contains information about a proxy
|
|
|
|
// class, and knows how to generate code.
|
|
|
|
|
2006-12-21 03:57:49 +00:00
|
|
|
std::string mClassName;
|
|
|
|
std::vector<XmlRpcFunction> mFunctions;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2008-05-23 20:56:24 +00:00
|
|
|
XmlRpcClass (std::string const& className);
|
|
|
|
XmlRpcClass(XmlRpcClass const&);
|
|
|
|
XmlRpcClass& operator= (XmlRpcClass const&);
|
2006-12-21 03:57:49 +00:00
|
|
|
|
|
|
|
std::string className () const { return mClassName; }
|
|
|
|
|
|
|
|
void addFunction (const XmlRpcFunction& function);
|
|
|
|
|
2008-05-23 20:56:24 +00:00
|
|
|
void printDeclaration (ostream& out) const;
|
|
|
|
void printDefinition (ostream& out) const;
|
2006-12-21 03:57:49 +00:00
|
|
|
};
|