1 bob 1.1 //
2 // interface definition for the cimmofRepository class, a specialiazation
3 // of the Pegasus Repository class with error handling.
4 //
5
6 #ifndef _CIMMOFREPOSITORY_H_
7 #define _CIMMOFREPOSITORY_H_
8
9 #include <Pegasus/Repository/Repository.h>
10 #include <Pegasus/Common/String.h>
11 #include <Pegasus/Compiler/cimmofParser.h>
12
13 using namespace Pegasus;
14
15 class PEGASUS_COMPILER_LINKAGE cimmofRepository : public Repository {
16 public:
17 cimmofRepository(const String &path);
18 ~cimmofRepository();
19
20 // Add some methods for use at the compiler level
21 virtual int addClass(CIMClass *classdecl);
22 bob 1.1 virtual int addInstance(CIMInstance *instance);
23 virtual int addQualifier(CIMQualifierDecl *qualifier);
24
25 virtual CIMQualifierDecl getQualifierDecl(const String &name);
26
27 };
28
29 #endif
|