(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.30 and 1.33

version 1.30, 2006/11/07 21:30:36 version 1.33, 2008/03/05 21:31:45
Line 43 
Line 43 
 #include <Pegasus/Common/CIMQualifier.h> #include <Pegasus/Common/CIMQualifier.h>
 #include <Pegasus/Common/CIMQualifierList.h> #include <Pegasus/Common/CIMQualifierList.h>
 #include <Pegasus/Common/Array.h> #include <Pegasus/Common/Array.h>
   #include <Pegasus/Common/OrderedSet.h>
   #include <Pegasus/Common/CIMPropertyRep.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 114 
Line 116 
  
     virtual void addProperty(const CIMProperty& x);     virtual void addProperty(const CIMProperty& x);
  
     Uint32 findProperty(const CIMName& name) const;      Uint32 findProperty(const CIMName& name, Uint32 nameTag) const
       {
           return _properties.find(name, nameTag);
       }
   
       Uint32 findProperty(const CIMName& name) const
       {
           return _properties.find(name, generateCIMNameTag(name));
       }
  
     CIMProperty getProperty(Uint32 index);     CIMProperty getProperty(Uint32 index);
  
Line 125 
Line 135 
  
     void removeProperty(Uint32 index);     void removeProperty(Uint32 index);
  
     Uint32 getPropertyCount() const;      Uint32 getPropertyCount() const
       {
           return _properties.size();
       }
  
     virtual Boolean identical(const CIMObjectRep* x) const;     virtual Boolean identical(const CIMObjectRep* x) const;
  
     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;
     CIMQualifierList _qualifiers;     CIMQualifierList _qualifiers;
     Array<CIMProperty> _properties;      typedef OrderedSet<CIMProperty,
                          CIMPropertyRep,
                          PEGASUS_PROPERTY_ORDEREDSET_HASHSIZE> PropertySet;
       PropertySet _properties;
     Boolean _resolved;     Boolean _resolved;
  
 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;     friend class BinaryStreamer;


Legend:
Removed from v.1.30  
changed lines
  Added in v.1.33

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2