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

Diff for /pegasus/src/Pegasus/Common/CIMClass.h between version 1.64 and 1.65

version 1.64, 2004/06/03 08:45:20 version 1.65, 2004/06/30 21:07:54
Line 29 
Line 29 
 //              Carol Ann Krug Graves, Hewlett-Packard Company //              Carol Ann Krug Graves, Hewlett-Packard Company
 //                  (carolann_graves@hp.com) //                  (carolann_graves@hp.com)
 //              Adriann Schuur (schuur@de.ibm.com) PEP 164 //              Adriann Schuur (schuur@de.ibm.com) PEP 164
   //              Karl Schopmeyer k.schopmeyer@opengroup.org (PEP 157)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 40 
Line 41 
 #include <Pegasus/Common/CIMName.h> #include <Pegasus/Common/CIMName.h>
 #include <Pegasus/Common/CIMObject.h> #include <Pegasus/Common/CIMObject.h>
 #include <Pegasus/Common/CIMMethod.h> #include <Pegasus/Common/CIMMethod.h>
   #include <Pegasus/common/CIMInstance.h>
   #include <Pegasus/Common/CIMPropertyList.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 114 
Line 117 
     */     */
     Boolean isAbstract() const;     Boolean isAbstract() const;
  
   
     /** Gets the name of the class represented by this CIM object.     /** Gets the name of the class represented by this CIM object.
         @return CIMName with the class name.         @return CIMName with the class name.
     */     */
Line 300 
Line 304 
     */     */
     Boolean isUninitialized() const;     Boolean isUninitialized() const;
  
       /**
       Build a CIMInstance based on this CIM Class.  Properties in the instance
       are initialized to the default values (if any) specified in the class
       definition.  The parameters of the call determine whether qualifiers are
       included, the class origin attributes are included and which properties
       are included in the new instance.  This method is designed specifically
       for providers to allow them to easily build instance objects using the
       parameters provided with the CIM instance operations such as getInstance,
       enumerateInstances.
   
       @param includeQualifiers If true attaches the class level qualifiers from
       this class to the instance and all properties inserted in the instance.
       If false, no qualifiers are attached to the instance or to any properties
       included in the instance.  The TOINSTANCE flavor is ignored.  Because
       there is still confusion over the exact operation of this parameter in the
       CIM specifications and the concept of instance level qualifiers, the
       behavior of this function when the parameter is true MAY change in the
       future to match any future clarifications of interoperable behavior in the
       CIM specifications.
   
       @param includeClassOrigin If true ClassOrigin attributes attached to
       properties inthe class object are transferred to the properties attached
       to the instance object.  If false, any ClassOrigin attributes are ignored.
   
       @param propertyList A CIMPropertyList defining the properties that are to
       be added to the created instance.  If propertyList is not NULL properties
       defined in the class and in this propertyList are added to the new
       instance.  If the propertyLlist is NULL, all properties are added to the
       instance.  If the propertyList exists but is empty, not properties are
       added.  Note that this function does NOT generate an error if a property
       name is supplied that is NOT in the class; it simply does not add that
       property to the instance.
   
       @return CIMInstance of this class appropriately initialized.
   
       EXAMPLE:
   
       <Will be provided with the code>
       */
       CIMInstance createInstance(Boolean includeQualifiers,
           Boolean includeClassOrigin,
           const CIMPropertyList & propertyList) const;
   
 private: private:
  
     CIMClassRep* _rep;     CIMClassRep* _rep;


Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2