(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.11 and 1.18

version 1.11, 2002/05/15 08:11:50 version 1.18, 2002/07/26 20:01:19
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
   // The Open Group, Tivoli Systems
 // //
 // 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 22 
Line 23 
 // //
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By:  // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
   //                  (carolann_graves@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 36 
Line 38 
 #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/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 50 
Line 53 
 { {
 public: public:
  
     CIMObjectRep(const CIMReference& className);      CIMObjectRep(const CIMObjectPath& className);
  
     virtual ~CIMObjectRep();     virtual ~CIMObjectRep();
  
Line 59 
Line 62 
         return _reference.getClassName();         return _reference.getClassName();
     }     }
  
     const Boolean equalClassName(const String& classname) const      const CIMObjectPath& getPath() const
     {  
         return (String::equalNoCase(classname, _reference.getClassName()));  
     }  
   
     const CIMReference& getPath() const  
     {     {
         return _reference;         return _reference;
     }     }
  
       /**
         Sets the object path for the object
         @param  path  CIMObjectPath containing the object path
        */
       void setPath (const CIMObjectPath & path);
   
     void addQualifier(const CIMQualifier& qualifier)     void addQualifier(const CIMQualifier& qualifier)
     {     {
         _qualifiers.add(qualifier);         _qualifiers.add(qualifier);
Line 79 
Line 83 
         return _qualifiers.find(name);         return _qualifiers.find(name);
     }     }
  
     Boolean existsQualifier(const String& name) const  
     {  
         return ((_qualifiers.find(name) != PEG_NOT_FOUND) ? true : false);  
     }  
   
     CIMQualifier getQualifier(Uint32 pos)     CIMQualifier getQualifier(Uint32 pos)
     {     {
         return _qualifiers.getQualifier(pos);         return _qualifiers.getQualifier(pos);
Line 113 
Line 112 
  
     Uint32 findProperty(const String& name) const;     Uint32 findProperty(const String& name) const;
  
     Boolean existsProperty(const String& name) const;  
   
     CIMProperty getProperty(Uint32 pos);     CIMProperty getProperty(Uint32 pos);
  
     CIMConstProperty getProperty(Uint32 pos) const     CIMConstProperty getProperty(Uint32 pos) const
Line 138 
Line 135 
  
     CIMObjectRep(const CIMObjectRep& x);     CIMObjectRep(const CIMObjectRep& x);
  
     CIMReference _reference;      CIMObjectPath _reference;
     CIMQualifierList _qualifiers;     CIMQualifierList _qualifiers;
     Array<CIMProperty> _properties;     Array<CIMProperty> _properties;
     Boolean _resolved;     Boolean _resolved;
Line 149 
Line 146 
     // not implicitly define a default copy constructor.     // not implicitly define a default copy constructor.
     CIMObjectRep& operator=(const CIMObjectRep& x)     CIMObjectRep& operator=(const CIMObjectRep& x)
     {     {
         PEGASUS_ASSERT(0);          //PEGASUS_ASSERT(0);
         return *this;         return *this;
     }     }
  


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2