(file) Return to MemoryResidentRepository.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository / Attic

Diff for /pegasus/src/Pegasus/Repository/Attic/MemoryResidentRepository.h between version 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2007/10/05 01:43:41 version 1.1.2.2, 2007/10/06 00:38:22
Line 37 
Line 37 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Repository/Repository.h> #include <Pegasus/Repository/Repository.h>
 #include <Pegasus/Common/Pair.h> #include <Pegasus/Common/Pair.h>
   #include <Pegasus/Common/Buffer.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 49 
Line 50 
 class RepositoryDeclContext; class RepositoryDeclContext;
 class compilerDeclContext; class compilerDeclContext;
  
   
 /** Virtual base class for CIMRepository implementations. /** Virtual base class for CIMRepository implementations.
 */ */
 class MemoryResidentRepository : public Repository  class PEGASUS_REPOSITORY_LINKAGE MemoryResidentRepository : public Repository
 { {
 public: public:
  
Line 288 
Line 290 
         bool lock);         bool lock);
 #endif #endif
  
 private:      // Sets the global save handler that is called whenever the memory-resident
       // instance repository is modified. The buffer argument is a serialized
       // copy of the memory-resident instance repository. The handler can do
       // things such as save the buffer on disk for later use.
       static void setSaveHandler(void (*handler)(const Buffer& buffer));
   
       // Sets the global load handler that is called whenever an instance of
       // MemoryResidentRepository is created in order to load the initial set
       // of instances (if any).
       static void setLoadHandler(void (*handler)(Buffer& buffer));
  
   private:
     Uint32 _findInstance(     Uint32 _findInstance(
         const CIMNamespaceName& nameSpace,         const CIMNamespaceName& nameSpace,
         const CIMObjectPath& instanceName);         const CIMObjectPath& instanceName);
  
       void _processSaveHandler();
   
       void _processLoadHandler();
   
     Array<NamespaceInstancePair> _rep;     Array<NamespaceInstancePair> _rep;
 }; };
  


Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2