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

Diff for /pegasus/src/Pegasus/Common/CIMValue.h between version 1.44 and 1.45

version 1.44, 2005/05/13 18:55:38 version 1.45, 2005/06/06 10:08:41
Line 114 
Line 114 
     CIMValue(const CIMObjectPath& x);     CIMValue(const CIMObjectPath& x);
  
     /// Constructor.     /// Constructor.
       /// Note: Constructing a CIMValue with an uninitialized CIMObject is not
       /// defined and results in a thrown UninitializedObjectException.
       /// Note: The input CIMObject will be cloned before putting it into the
       /// value of the constructed CIMValue. This is because CIMObjects use a
       /// shared representation model, but we don't want CIMObjects inside a
       /// CIMValue to be altered by other external changes.
     CIMValue(const CIMObject& x);     CIMValue(const CIMObject& x);
  
     /// Constructor.     /// Constructor.
Line 162 
Line 168 
     CIMValue(const Array<CIMObjectPath>& x);     CIMValue(const Array<CIMObjectPath>& x);
  
     /// Constructor.     /// Constructor.
       /// Note: Constructing a CIMValue with an uninitialized CIMObject anywhere
       /// in the input array is not defined and results in a thrown
       /// UninitializedObjectException.
       /// Note: Each CIMObject in the input Array will be cloned before putting
       /// the Array into the value of the constructed CIMValue. This is because
       /// CIMObjects use a shared representation model, but we don't want
       /// CIMObjects inside a CIMValue to be altered by other external changes.
     CIMValue(const Array<CIMObject>& x);     CIMValue(const Array<CIMObject>& x);
  
     /// Constructor.     /// Constructor.
       /// Note: If the input type is CIMObject, it/they will be cloned before
       /// putting it into the value of the constructed CIMValue. This is because
       /// CIMObjects use a shared representation model, but we don't want
       /// CIMObjects inside a CIMValue to be altered by other external changes.
     CIMValue(const CIMValue& x);     CIMValue(const CIMValue& x);
  
     /// Destructor.     /// Destructor.
     ~CIMValue();     ~CIMValue();
  
     /// Operator =     /// Operator =
       /// Note: If the right hand side type is CIMObject, it/they will be cloned
       /// before putting it into the value of the target CIMValue. This is because
       /// CIMObjects use a shared representation model, but we don't want
       /// CIMObjects inside a CIMValue to be altered by other external changes.
     CIMValue& operator=(const CIMValue& x);     CIMValue& operator=(const CIMValue& x);
  
     /** Assigns one CIMValue object to another CIMValue object.     /** Assigns one CIMValue object to another CIMValue object.
         @param x - CIMValue object to be used for assignment.         @param x - CIMValue object to be used for assignment.
           Note: If the input type is CIMObject, it/they will be cloned before
           putting it into the value of the target CIMValue. This is because
           CIMObjects use a shared representation model, but we don't want
           CIMObjects inside a CIMValue to be altered by other external changes.
     */     */
     void assign(const CIMValue& x);     void assign(const CIMValue& x);
  
Line 236 
Line 261 
             CIMValue x;             CIMValue x;
             x.set(Uint16(9));             x.set(Uint16(9));
         </pre>         </pre>
           @exception UninitializedObjectException If the given type is CIMObject,
           and the input CIMObject parameter is uninitialized or at least one entry
           in the Array of CIMObjects is uninitialized.
           Note: If the input type is CIMObject, it/they will be cloned before
           putting it into the value of the target CIMValue. This is because
           CIMObjects use a shared representation model, but we don't want
           CIMObjects inside a CIMValue to be altered by other external changes.
     */     */
     void set(Boolean x);     void set(Boolean x);
  
Line 306 
Line 338 
         Note: Before using get, the caller should use getType () and isNull ()         Note: Before using get, the caller should use getType () and isNull ()
         to ensure that the value is not null, and is of the correct type.         to ensure that the value is not null, and is of the correct type.
  
           The behavior of get is undefined when the value is null.
   
         @param Variable in which to return the value.         @param Variable in which to return the value.
         @exception TypeMismatchException If the CIMValue type is not compatible         @exception TypeMismatchException If the CIMValue type is not compatible
                    with the type of the output parameter.                    with the type of the output parameter.


Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2