Go to the documentation of this file.00001 #ifndef QMF_SCHEMA_METHOD_H
00002 #define QMF_SCHEMA_METHOD_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "qmf/ImportExport.h"
00025 #include "qpid/sys/IntegerTypes.h"
00026 #include "qmf/Handle.h"
00027 #include "qmf/SchemaTypes.h"
00028 #include <string>
00029
00030 namespace qmf {
00031
00032 #ifndef SWIG
00033 template <class> class PrivateImplRef;
00034 #endif
00035
00036 class SchemaMethodImpl;
00037 class SchemaProperty;
00038
00039 class QMF_CLASS_EXTERN SchemaMethod : public qmf::Handle<SchemaMethodImpl> {
00040 public:
00041 QMF_EXTERN SchemaMethod(SchemaMethodImpl* impl = 0);
00042 QMF_EXTERN SchemaMethod(const SchemaMethod&);
00043 QMF_EXTERN SchemaMethod& operator=(const SchemaMethod&);
00044 QMF_EXTERN ~SchemaMethod();
00045
00046 QMF_EXTERN SchemaMethod(const std::string&, const std::string& o="");
00047
00048 QMF_EXTERN void setDesc(const std::string&);
00049 QMF_EXTERN void addArgument(const SchemaProperty&);
00050
00051 QMF_EXTERN const std::string& getName() const;
00052 QMF_EXTERN const std::string& getDesc() const;
00053 QMF_EXTERN uint32_t getArgumentCount() const;
00054 QMF_EXTERN SchemaProperty getArgument(uint32_t) const;
00055
00056 #ifndef SWIG
00057 private:
00058 friend class qmf::PrivateImplRef<SchemaMethod>;
00059 friend struct SchemaMethodImplAccess;
00060 #endif
00061 };
00062
00063 }
00064
00065 #endif