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

Diff for /pegasus/src/Pegasus/Common/CIMObjectRep.h between version 1.15 and 1.24

version 1.15, 2002/05/23 16:52:15 version 1.24, 2004/11/29 18:48:19
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2004////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
   // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // 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.
 // //
 // 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 24 
Line 29 
 // //
 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
 //                  (carolann_graves@hp.com) //                  (carolann_graves@hp.com)
   //              Adriann Schuur (schuur@de.ibm.com) PEP 164
   //              Dave Sudlik, IBM (dsudlik@us.ibm.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 31 
Line 38 
 #define Pegasus_CIMObjectRep_h #define Pegasus_CIMObjectRep_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
   #include <Pegasus/Common/Linkage.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/Sharable.h> #include <Pegasus/Common/Sharable.h>
   #include <Pegasus/Common/CIMName.h>
 #include <Pegasus/Common/CIMProperty.h> #include <Pegasus/Common/CIMProperty.h>
 #include <Pegasus/Common/CIMQualifier.h> #include <Pegasus/Common/CIMQualifier.h>
 #include <Pegasus/Common/CIMQualifierList.h> #include <Pegasus/Common/CIMQualifierList.h>
Line 55 
Line 64 
  
     virtual ~CIMObjectRep();     virtual ~CIMObjectRep();
  
     const String& getClassName() const      const CIMName& getClassName() const
     {     {
         return _reference.getClassName();         return _reference.getClassName();
     }     }
Line 76 
Line 85 
         _qualifiers.add(qualifier);         _qualifiers.add(qualifier);
     }     }
  
     Uint32 findQualifier(const String& name) const      Uint32 findQualifier(const CIMName& name) const
     {     {
         return _qualifiers.find(name);         return _qualifiers.find(name);
     }     }
  
     Boolean existsQualifier(const String& name) const      CIMQualifier getQualifier(Uint32 index)
     {  
         return ((_qualifiers.find(name) != PEG_NOT_FOUND) ? true : false);  
     }  
   
     CIMQualifier getQualifier(Uint32 pos)  
     {     {
         return _qualifiers.getQualifier(pos);          return _qualifiers.getQualifier(index);
     }     }
  
     CIMConstQualifier getQualifier(Uint32 pos) const      CIMConstQualifier getQualifier(Uint32 index) const
     {     {
         return _qualifiers.getQualifier(pos);          return _qualifiers.getQualifier(index);
     }     }
  
     Boolean isTrueQualifer(String& name) const      Boolean isTrueQualifer(CIMName& name) const
     {     {
         return _qualifiers.isTrue(name);         return _qualifiers.isTrue(name);
     }     }
Line 106 
Line 110 
         return _qualifiers.getCount();         return _qualifiers.getCount();
     }     }
  
     void removeQualifier(Uint32 pos)      void removeQualifier(Uint32 index)
     {     {
         _qualifiers.removeQualifier(pos);          _qualifiers.removeQualifier(index);
     }     }
  
     virtual void addProperty(const CIMProperty& x);     virtual void addProperty(const CIMProperty& x);
  
     Uint32 findProperty(const String& name) const;      Uint32 findProperty(const CIMName& name) const;
   
     Boolean existsProperty(const String& name) const;  
  
     CIMProperty getProperty(Uint32 pos);      CIMProperty getProperty(Uint32 index);
  
     CIMConstProperty getProperty(Uint32 pos) const      CIMConstProperty getProperty(Uint32 index) const
     {     {
         return ((CIMObjectRep*)this)->getProperty(pos);          return ((CIMObjectRep*)this)->getProperty(index);
     }     }
  
     void removeProperty(Uint32 pos);      void removeProperty(Uint32 index);
  
     Uint32 getPropertyCount() const;     Uint32 getPropertyCount() const;
  
Line 132 
Line 134 
  
     virtual void toXml(Array<Sint8>& out) const = 0;     virtual void toXml(Array<Sint8>& out) const = 0;
  
       virtual void toMof(Array<Sint8>& out) const = 0;
   
     virtual CIMObjectRep* clone() const = 0;     virtual CIMObjectRep* clone() const = 0;
  
 protected: protected:
Line 156 
Line 160 
     }     }
  
     friend class CIMObject;     friend class CIMObject;
       friend class BinaryStreamer;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.24

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2