Go to the documentation of this file.00001 #ifndef QMF_SCHEMA_ID_H
00002 #define QMF_SCHEMA_ID_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG)
00025 # error "The API defined in this file has been DEPRECATED and will be removed in the future."
00026 # error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API."
00027 #endif
00028
00029 #include <qmf/ImportExport.h>
00030 #include "qmf/Handle.h"
00031 #include "qpid/types/Uuid.h"
00032 #include "qmf/SchemaTypes.h"
00033 #include <string>
00034
00035 namespace qmf {
00036
00037 #ifndef SWIG
00038 template <class> class PrivateImplRef;
00039 #endif
00040
00041 class SchemaIdImpl;
00042
00043 class QMF_CLASS_EXTERN SchemaId : public qmf::Handle<SchemaIdImpl> {
00044 public:
00045 QMF_EXTERN SchemaId(SchemaIdImpl* impl = 0);
00046 QMF_EXTERN SchemaId(const SchemaId&);
00047 QMF_EXTERN SchemaId& operator=(const SchemaId&);
00048 QMF_EXTERN ~SchemaId();
00049
00050 QMF_EXTERN SchemaId(int, const std::string&, const std::string&);
00051 QMF_EXTERN void setHash(const qpid::types::Uuid&);
00052 QMF_EXTERN int getType() const;
00053 QMF_EXTERN const std::string& getPackageName() const;
00054 QMF_EXTERN const std::string& getName() const;
00055 QMF_EXTERN const qpid::types::Uuid& getHash() const;
00056
00057 #ifndef SWIG
00058 private:
00059 friend class qmf::PrivateImplRef<SchemaId>;
00060 friend struct SchemaIdImplAccess;
00061 #endif
00062 };
00063
00064 }
00065
00066 #endif