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

Diff for /pegasus/src/Pegasus/Repository/Attic/MetaRepository.cpp between version 1.1.2.6 and 1.1.2.7

version 1.1.2.6, 2007/10/03 00:03:14 version 1.1.2.7, 2007/10/03 00:14:06
Line 31 
Line 31 
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include "MetaTypes.h"  
 #include <cstdarg> #include <cstdarg>
 #include <cassert> #include <cassert>
 #include "MetaRepository.h" #include "MetaRepository.h"
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
   #include "MetaTypes.h"
 #if 0  
 # define TEST_META_REPOSITORY  
 #endif  
   
 #if defined(TEST_META_REPOSITORY)  
 # include "root_cimv2_namespace.h"  
 # include "root_PG_Internal_namespace.h"  
 # include "root_PG_InterOp_namespace.h"  
 #endif  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 56 
Line 46 
 static const size_t _MAX_FEATURES = 1024; static const size_t _MAX_FEATURES = 1024;
 static const size_t _MAX_QUALIFIERS = 1024; static const size_t _MAX_QUALIFIERS = 1024;
  
 static inline void _init()  
 {  
 #if defined(TEST_META_REPOSITORY)  
     if (_nameSpacesSize == 0)  
     {  
         MetaRepository::addNameSpace(&root_PG_InterOp_namespace);  
         MetaRepository::addNameSpace(&root_cimv2_namespace);  
         MetaRepository::addNameSpace(&root_PG_Internal_namespace);  
     }  
 #endif  
 }  
   
 //============================================================================== //==============================================================================
 // //
 // Local definitions: // Local definitions:
Line 247 
Line 225 
     const CIMPropertyList& propertyList)     const CIMPropertyList& propertyList)
 { {
     printf("===== MetaRepository::getClass()\n");     printf("===== MetaRepository::getClass()\n");
     _init();  
  
     // Lookup namespace:     // Lookup namespace:
  
Line 291 
Line 268 
     Boolean includeClassOrigin)     Boolean includeClassOrigin)
 { {
     printf("===== MetaRepository::enumerateClasses()\n");     printf("===== MetaRepository::enumerateClasses()\n");
     _init();  
  
     // Lookup namespace:     // Lookup namespace:
  
Line 356 
Line 332 
     Boolean deepInheritance)     Boolean deepInheritance)
 { {
     printf("===== MetaRepository::enumerateClassNames()\n");     printf("===== MetaRepository::enumerateClassNames()\n");
     _init();  
  
     // Lookup namespace:     // Lookup namespace:
  
Line 428 
Line 403 
     Array<CIMName>& subClassNames)     Array<CIMName>& subClassNames)
 { {
     printf("===== MetaRepository::getSubClassNames()\n");     printf("===== MetaRepository::getSubClassNames()\n");
     _init();  
  
     subClassNames = MetaRepository::enumerateClassNames(     subClassNames = MetaRepository::enumerateClassNames(
         nameSpace, className, deepInheritance);         nameSpace, className, deepInheritance);
Line 440 
Line 414 
     Array<CIMName>& superClassNames)     Array<CIMName>& superClassNames)
 { {
     printf("===== MetaRepository::getSuperClassNames()\n");     printf("===== MetaRepository::getSuperClassNames()\n");
     _init();  
  
     superClassNames.clear();     superClassNames.clear();
  
Line 485 
Line 458 
 Array<CIMNamespaceName> MetaRepository::enumerateNameSpaces() Array<CIMNamespaceName> MetaRepository::enumerateNameSpaces()
 { {
     printf("===== MetaRepository::enumerateNameSpaces()\n");     printf("===== MetaRepository::enumerateNameSpaces()\n");
     _init();  
  
     Array<CIMNamespaceName> nameSpaces;     Array<CIMNamespaceName> nameSpaces;
  
Line 528 
Line 500 
     const CIMName& qualifierName)     const CIMName& qualifierName)
 { {
     printf("===== MetaRepository::getQualifier()\n");     printf("===== MetaRepository::getQualifier()\n");
     _init();  
  
     // Lookup namespace:     // Lookup namespace:
  
Line 579 
Line 550 
     const CIMNamespaceName& nameSpace)     const CIMNamespaceName& nameSpace)
 { {
     printf("===== MetaRepository::enumerateQualifiers()\n");     printf("===== MetaRepository::enumerateQualifiers()\n");
     _init();  
  
     // Lookup namespace:     // Lookup namespace:
  


Legend:
Removed from v.1.1.2.6  
changed lines
  Added in v.1.1.2.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2