(file) Return to ObjectNormalizer.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/ObjectNormalizer.h between version 1.7 and 1.13.12.1

version 1.7, 2005/02/05 22:59:23 version 1.13.12.1, 2008/09/19 06:30:28
Line 1 
Line 1 
 //%2005////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 8 
Line 8 
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 // EMC Corporation; VERITAS Software Corporation; The Open Group. // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 27 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Chip Vincent (cvincent@us.ibm.com)  
 //  
 // Modified By:  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_ObjectNormalizer_h #ifndef Pegasus_ObjectNormalizer_h
 #define Pegasus_ObjectNormalizer_h #define Pegasus_ObjectNormalizer_h
  
   #include <Pegasus/Common/SharedPtr.h>
 #include <Pegasus/Common/CIMClass.h> #include <Pegasus/Common/CIMClass.h>
 #include <Pegasus/Common/CIMInstance.h> #include <Pegasus/Common/CIMInstance.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
   
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   class PEGASUS_COMMON_LINKAGE NormalizerContext
   {
   public:
       virtual ~NormalizerContext() {};
   
       virtual CIMClass getClass(
           const CIMNamespaceName& nameSpace,
           const CIMName& name) = 0;
   
       virtual Array<CIMName> enumerateClassNames(
           const CIMNamespaceName& nameSpace, const CIMName& className,
           bool deepInheritance) = 0;
   
       virtual NormalizerContext* clone() = 0;
   };
   
 // TODO: add documentation // TODO: add documentation
 class PEGASUS_COMMON_LINKAGE ObjectNormalizer class PEGASUS_COMMON_LINKAGE ObjectNormalizer
 { {
 public: public:
     ObjectNormalizer(void);      ObjectNormalizer();
     ObjectNormalizer(     ObjectNormalizer(
         const CIMClass & cimClass,         const CIMClass & cimClass,
         const Boolean localOnly,          Boolean includeQualifiers,
         const Boolean includeQualifiers,          Boolean includeClassOrigin,
         const Boolean includeClassOrigin);          const CIMNamespaceName& nameSpace,
           SharedPtr<NormalizerContext>& context);
     CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const;  
     CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const;      CIMObjectPath processClassObjectPath(
           const CIMObjectPath& cimObjectPath) const;
       CIMObjectPath processInstanceObjectPath(
           const CIMObjectPath& cimObjectPath) const;
  
     //CIMClass processClass(const CIMClass & cimClass) const;     //CIMClass processClass(const CIMClass & cimClass) const;
     CIMInstance processInstance(const CIMInstance & cimInstance) const;     CIMInstance processInstance(const CIMInstance & cimInstance) const;
     //CIMIndication processIndication(const CIMIndication & cimIndication);     //CIMIndication processIndication(const CIMIndication & cimIndication);
  
       static CIMProperty processProperty(
           CIMConstProperty& referenceProperty,
           CIMConstProperty& cimProperty,
           Boolean includeQualifiers,
           Boolean includeClassOrigin,
           NormalizerContext * context,
           const CIMNamespaceName& nameSpace);
   
       static void setEnableNormalization(Boolean value);
   
 private: private:
     CIMClass _cimClass;     CIMClass _cimClass;
  
     Boolean _localOnly;  
     Boolean _includeQualifiers;     Boolean _includeQualifiers;
     Boolean _includeClassOrigin;     Boolean _includeClassOrigin;
       SharedPtr<NormalizerContext> _context;
       CIMNamespaceName _nameSpace;
       static Boolean _enableNormalization;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.13.12.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2