version 1.6, 2001/02/11 05:45:33
|
version 1.7, 2001/02/13 07:00:18
|
|
|
// Author: | // Author: |
// | // |
// $Log$ | // $Log$ |
|
// Revision 1.7 2001/02/13 07:00:18 mike |
|
// Added partial createInstance() method to repository. |
|
// |
// Revision 1.6 2001/02/11 05:45:33 mike | // Revision 1.6 2001/02/11 05:45:33 mike |
// Added case insensitive logic for files in Repository | // Added case insensitive logic for files in Repository |
// | // |
|
|
// | // |
//END_HISTORY | //END_HISTORY |
| |
//////////////////////////////////////////////////////////////////////////////// |
|
// |
|
// Repository.h |
|
// |
|
// This interface contains a method for each operation defined in |
|
// the "Specification for CIM Operations over HTTP". |
|
// |
|
//////////////////////////////////////////////////////////////////////////////// |
|
|
|
#ifndef PegasusRepository_Repository_h | #ifndef PegasusRepository_Repository_h |
#define PegasusRepository_Repository_h | #define PegasusRepository_Repository_h |
| |
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class RepositoryDeclContext; | class RepositoryDeclContext; |
/** Class Repository - This class represents the repository interfaces. |
|
This class is derived from the Pegasus Operations interface adding certain |
/** This class derives from the Operations class and provides a simple |
methods specifically required for the repository. |
implementation of a CIM repository. It only implements the methods |
|
for manipulating classes and instances. The others throw this exception: |
|
|
|
<pre> |
|
CimException(CimException::NOT_SUPPORTED) |
|
</pre> |
*/ | */ |
| |
class PEGASUS_REPOSITORY_LINKAGE Repository : public Operations | class PEGASUS_REPOSITORY_LINKAGE Repository : public Operations |
|
|
/// createInstance | /// createInstance |
virtual void createInstance( | virtual void createInstance( |
const String& nameSpace, | const String& nameSpace, |
const InstanceDecl& newInstance); |
InstanceDecl& newInstance); |
| |
virtual void modifyClass( | virtual void modifyClass( |
const String& nameSpace, | const String& nameSpace, |
|
|
| |
private: | private: |
| |
static Array<String> _getStringArray() |
|
{ |
|
return Array<String>(); |
|
} |
|
|
|
String _root; | String _root; |
RepositoryDeclContext* _context; | RepositoryDeclContext* _context; |
}; | }; |