(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.19 and 1.31

version 1.19, 2002/07/30 16:14:53 version 1.31, 2007/10/23 17:42:56
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // 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.;
   // 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 21 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Mike Brasher (mbrasher@bmc.com)  
 //  
 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company  
 //                  (carolann_graves@hp.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_CIMObjectRep_h #ifndef Pegasus_CIMObjectRep_h
Line 50 
Line 53 
  
     This class contains what is common to CIMClass and CIMInstance.     This class contains what is common to CIMClass and CIMInstance.
 */ */
 class PEGASUS_COMMON_LINKAGE CIMObjectRep : public Sharable  class CIMObjectRep : public Sharable
 { {
 public: public:
  
Line 84 
Line 87 
         return _qualifiers.find(name);         return _qualifiers.find(name);
     }     }
  
     CIMQualifier getQualifier(Uint32 pos)      CIMQualifier getQualifier(Uint32 index)
     {     {
         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(CIMName& name) const     Boolean isTrueQualifer(CIMName& name) const
Line 104 
Line 107 
         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 CIMName& name) const;     Uint32 findProperty(const CIMName& 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;
  
     virtual Boolean identical(const CIMObjectRep* x) const;     virtual Boolean identical(const CIMObjectRep* x) const;
  
     virtual void toXml(Array<Sint8>& out) const = 0;      virtual void toXml(Buffer& out) const = 0;
   
       virtual void toMof(Buffer& out) const = 0;
  
     virtual CIMObjectRep* clone() const = 0;     virtual CIMObjectRep* clone() const = 0;
  
 protected: protected:
  
     CIMObjectRep();  
   
     CIMObjectRep(const CIMObjectRep& x);     CIMObjectRep(const CIMObjectRep& x);
  
     CIMObjectPath _reference;     CIMObjectPath _reference;
Line 143 
Line 146 
  
 private: private:
  
     // This method is declared and made private so that the compiler does      CIMObjectRep();    // Unimplemented
     // not implicitly define a default copy constructor.      CIMObjectRep& operator=(const CIMObjectRep& x);    // Unimplemented
     CIMObjectRep& operator=(const CIMObjectRep& x)  
     {  
         //PEGASUS_ASSERT(0);  
         return *this;  
     }  
  
     friend class CIMObject;     friend class CIMObject;
       friend class BinaryStreamer;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.31

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2