(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.40 and 1.44

version 1.40, 2004/10/17 20:39:17 version 1.44, 2005/05/13 18:55:38
Line 1 
Line 1 
 //%2004////////////////////////////////////////////////////////////////////////  //%2005////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 6 
Line 6 
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // 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.
 // //
 // 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 34 
Line 36 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/CIMType.h> #include <Pegasus/Common/CIMType.h>
 #include <Pegasus/Common/CIMObjectPath.h> #include <Pegasus/Common/CIMObjectPath.h>
   #include <Pegasus/Common/CIMObject.h>
 #include <Pegasus/Common/CIMDateTime.h> #include <Pegasus/Common/CIMDateTime.h>
 #include <Pegasus/Common/Exception.h> #include <Pegasus/Common/Exception.h>
 #include <Pegasus/Common/Array.h> #include <Pegasus/Common/Array.h>
Line 42 
Line 45 
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class CIMValueRep; class CIMValueRep;
   class CIMObject;
  
 /** /**
     The CIMValue class represents a value of any of the CIM data types     The CIMValue class represents a value of any of the CIM data types
Line 110 
Line 114 
     CIMValue(const CIMObjectPath& x);     CIMValue(const CIMObjectPath& x);
  
     /// Constructor.     /// Constructor.
       CIMValue(const CIMObject& x);
   
       /// Constructor.
     CIMValue(const Array<Boolean>& x);     CIMValue(const Array<Boolean>& x);
  
     /// Constructor.     /// Constructor.
Line 155 
Line 162 
     CIMValue(const Array<CIMObjectPath>& x);     CIMValue(const Array<CIMObjectPath>& x);
  
     /// Constructor.     /// Constructor.
       CIMValue(const Array<CIMObject>& x);
   
       /// Constructor.
     CIMValue(const CIMValue& x);     CIMValue(const CIMValue& x);
  
     /// Destructor.     /// Destructor.
Line 258 
Line 268 
     ///     ///
     void set(const CIMObjectPath& x);     void set(const CIMObjectPath& x);
     ///     ///
       void set(const CIMObject& x);
       ///
     void set(const Array<Boolean>& x);     void set(const Array<Boolean>& x);
     ///     ///
     void set(const Array<Uint8>& x);     void set(const Array<Uint8>& x);
Line 287 
Line 299 
     void set(const Array<CIMDateTime>& x);     void set(const Array<CIMDateTime>& x);
     ///     ///
     void set(const Array<CIMObjectPath>& x);     void set(const Array<CIMObjectPath>& x);
       ///
       void set(const Array<CIMObject>& x);
  
     /** Gets the value of a CIMValue.     /** Gets the value of a CIMValue.
         Note: Before using get, the caller should use getType () and isNull ()         Note: Before using get, the caller should use getType () and isNull ()
Line 338 
Line 352 
     ///     ///
     void get(CIMObjectPath& x) const;     void get(CIMObjectPath& x) const;
     ///     ///
       void get(CIMObject& x) const;
       ///
     void get(Array<Boolean>& x) const;     void get(Array<Boolean>& x) const;
     ///     ///
     void get(Array<Uint8>& x) const;     void get(Array<Uint8>& x) const;
     //////      ///
     void get(Array<Sint8>& x) const;     void get(Array<Sint8>& x) const;
     ///     ///
     void get(Array<Uint16>& x) const;     void get(Array<Uint16>& x) const;
Line 367 
Line 383 
     void get(Array<CIMDateTime>& x) const;     void get(Array<CIMDateTime>& x) const;
     ///     ///
     void get(Array<CIMObjectPath>& x) const;     void get(Array<CIMObjectPath>& x) const;
       ///
       void get(Array<CIMObject>& x) const;
  
     /** Compares with another CIMValue object for equality.     /** Compares with another CIMValue object for equality.
         @param x - CIMValue to compare with.         @param x - CIMValue to compare with.
Line 387 
Line 405 
         */         */
     String toString() const;     String toString() const;
  
   #ifdef PEGASUS_USE_DEPRECATED_INTERFACES
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Constructor.  (Note: This constructor exists solely to support binary
           compatibility with a previous definition of the Sint8 type.)
       */
       CIMValue(char x);
   
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Constructor.  (Note: This constructor exists solely to support binary
           compatibility with a previous definition of the Sint8 type.)
       */
       CIMValue(const Array<char>& x);
   
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Sets an Sint8 value.  (Note: This method exists solely to support
           binary compatibility with a previous definition of the Sint8 type.)
       */
       void set(char x);
   
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Sets an Sint8 array value.  (Note: This method exists solely to support
           binary compatibility with a previous definition of the Sint8 type.)
       */
       void set(const Array<char>& x);
   
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Gets an Sint8 value.  (Note: This method exists solely to support
           binary compatibility with a previous definition of the Sint8 type.)
       */
       void get(char& x) const;
   
       /**
           <I><B>Deprecated Interface</B></I><BR>
           Gets an Sint8 array value.  (Note: This method exists solely to support
           binary compatibility with a previous definition of the Sint8 type.)
       */
       void get(Array<char>& x) const;
   #endif
   
 private: private:
  
     CIMValueRep* _rep;     CIMValueRep* _rep;


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2