(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.1 and 1.13.26.1

version 1.1, 2004/05/27 22:11:48 version 1.13.26.1, 2008/09/19 06:17:46
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%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.
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // 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 23 
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/CIMIndication.h>  
 #include <Pegasus/Common/CIMProperty.h>  
 #include <Pegasus/Common/CIMMethod.h>  
 #include <Pegasus/Common/CIMParameter.h>  
 #include <Pegasus/Common/CIMQualifier.h>  
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/DeclContext.h>  
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
  
 #include <Pegasus/Repository/CIMRepository.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(CIMRepository & repository);      ObjectNormalizer();
       ObjectNormalizer(
     CIMClass normalizeClass(  
         const CIMClass & cimClass,         const CIMClass & cimClass,
         const Boolean localOnly,          Boolean includeQualifiers,
         const Boolean includeQualifiers,          Boolean includeClassOrigin,
         const Boolean includeClassOrigin,          const CIMNamespaceName& nameSpace,
         const CIMPropertyList & propertyList);          SharedPtr<NormalizerContext>& context);
   
     CIMInstance normalizeInstance(      CIMObjectPath processClassObjectPath(
         const CIMInstance & cimInstance,          const CIMObjectPath& cimObjectPath) const;
         const Boolean localOnly,      CIMObjectPath processInstanceObjectPath(
         const Boolean includeQualifiers,          const CIMObjectPath& cimObjectPath) const;
         const Boolean includeClassOrigin,  
         const CIMPropertyList & propertyList);      //CIMClass processClass(const CIMClass& cimClass) const;
       CIMInstance processInstance(const CIMInstance& cimInstance) const;
     Array<CIMInstance> normalizeInstances(      //CIMIndication processIndication(const CIMIndication& cimIndication);
         const Array<CIMInstance> & cimInstances,  
         const Boolean localOnly,      static CIMProperty processProperty(
         const Boolean includeQualifiers,          CIMConstProperty& referenceProperty,
         const Boolean includeClassOrigin,          CIMConstProperty& cimProperty,
         const CIMPropertyList & propertyList);          Boolean includeQualifiers,
           Boolean includeClassOrigin,
     CIMIndication normalizeIndication(          NormalizerContext * context,
         const CIMIndication & cimIndication,          const CIMNamespaceName& nameSpace);
         const Boolean localOnly,  
         const Boolean includeQualifiers,      static void setEnableNormalization(Boolean value);
         const Boolean includeClassOrigin,  
         const CIMPropertyList & propertyList);  
  
 private: private:
     CIMRepository & _repository;      CIMClass _cimClass;
  
       Boolean _includeQualifiers;
       Boolean _includeClassOrigin;
       SharedPtr<NormalizerContext> _context;
       CIMNamespaceName _nameSpace;
       static Boolean _enableNormalization;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.13.26.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2