(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.51.30.1 and 1.56.4.1

version 1.51.30.1, 2008/07/01 15:17:57 version 1.56.4.1, 2009/07/17 07:46:33
Line 1 
Line 1 
 //%2006////////////////////////////////////////////////////////////////////////  //%LICENSE////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development  // Licensed to The Open Group (TOG) under one or more contributor license
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.  // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;  // this work for additional information regarding copyright ownership.
 // IBM Corp.; EMC Corporation, The Open Group.  // Each contributor licenses this file to you under the OpenPegasus Open
 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;  // Source License; you may not use this file except in compliance with the
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.  // License.
 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;  
 // EMC Corporation; VERITAS Software Corporation; The Open Group.  
 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;  
 // EMC Corporation; Symantec 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
 // of this software and associated documentation files (the "Software"), to  // copy of this software and associated documentation files (the "Software"),
 // deal in the Software without restriction, including without limitation the  // to deal in the Software without restriction, including without limitation
 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
 // sell copies of the Software, and to permit persons to whom the Software is  // and/or sell copies of the Software, and to permit persons to whom the
 // furnished to do so, subject to the following conditions:  // Software is furnished to do so, subject to the following conditions:
 // //
 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN  // The above copyright notice and this permission notice shall be included
 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  // in all copies or substantial portions of the Software.
 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT  
 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  
 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT  
 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN  
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION  
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
 // //
 //==============================================================================  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
   // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
   // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
   // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
   // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   //
   //////////////////////////////////////////////////////////////////////////
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 48 
Line 46 
  
 class CIMValueRep; class CIMValueRep;
 class CIMObject; class CIMObject;
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 class CIMInstance; class CIMInstance;
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
 /** /**
     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 178 
Line 172 
     */     */
     CIMValue(const CIMObject& x);     CIMValue(const CIMObject& x);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Constructs a CIMValue with the specified value and inferred type.         Constructs a CIMValue with the specified value and inferred type.
         Note: The CIMInstance argument is cloned to prevent subsequent         Note: The CIMInstance argument is cloned to prevent subsequent
Line 189 
Line 181 
             uninitialized.             uninitialized.
     */     */
     CIMValue(const CIMInstance& x);     CIMValue(const CIMInstance& x);
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Constructs a CIMValue with the specified value and inferred type.         Constructs a CIMValue with the specified value and inferred type.
Line 292 
Line 282 
     */     */
     CIMValue(const Array<CIMObject>& x);     CIMValue(const Array<CIMObject>& x);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Constructs a CIMValue with the specified value and inferred type.         Constructs a CIMValue with the specified value and inferred type.
         Note: The CIMInstances in the Array argument are cloned to prevent         Note: The CIMInstances in the Array argument are cloned to prevent
Line 303 
Line 291 
             the Array are uninitialized.             the Array are uninitialized.
     */     */
     CIMValue(const Array<CIMInstance>& x);     CIMValue(const Array<CIMInstance>& x);
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Constructs a CIMValue by copying another CIMValue object.         Constructs a CIMValue by copying another CIMValue object.
Line 488 
Line 474 
     */     */
     void set(const CIMObject& x);     void set(const CIMObject& x);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Sets the CIMValue to the specified value and inferred type.         Sets the CIMValue to the specified value and inferred type.
         Note: The CIMInstance argument is cloned to prevent subsequent         Note: The CIMInstance argument is cloned to prevent subsequent
Line 499 
Line 483 
             uninitialized.             uninitialized.
     */     */
     void set(const CIMInstance& x);     void set(const CIMInstance& x);
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Sets the CIMValue to the specified value and inferred type.         Sets the CIMValue to the specified value and inferred type.
Line 602 
Line 584 
     */     */
     void set(const Array<CIMObject>& x);     void set(const Array<CIMObject>& x);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Sets the CIMValue to the specified value and inferred type.         Sets the CIMValue to the specified value and inferred type.
         Note: The CIMInstances in the Array argument are cloned to prevent         Note: The CIMInstances in the Array argument are cloned to prevent
Line 613 
Line 593 
             the Array are uninitialized.             the Array are uninitialized.
     */     */
     void set(const Array<CIMInstance>& x);     void set(const Array<CIMInstance>& x);
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Gets the value of the CIMValue.  The caller should first verify that         Gets the value of the CIMValue.  The caller should first verify that
Line 782 
Line 760 
     */     */
     void get(CIMObject& x) const;     void get(CIMObject& x) const;
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Gets the value of the CIMValue.  The caller should first verify that         Gets the value of the CIMValue.  The caller should first verify that
         the value is of the expected type and is not null.  The behavior is         the value is of the expected type and is not null.  The behavior is
Line 793 
Line 769 
             output parameter.             output parameter.
     */     */
     void get(CIMInstance& x) const;     void get(CIMInstance& x) const;
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Gets the value of the CIMValue.  The caller should first verify that         Gets the value of the CIMValue.  The caller should first verify that
Line 956 
Line 930 
     */     */
     void get(Array<CIMObject>& x) const;     void get(Array<CIMObject>& x) const;
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     /**     /**
         Gets the value of the CIMValue.  The caller should first verify that         Gets the value of the CIMValue.  The caller should first verify that
         the value is of the expected type and is not null.  The behavior is         the value is of the expected type and is not null.  The behavior is
Line 967 
Line 939 
             output parameter.             output parameter.
     */     */
     void get(Array<CIMInstance>& x) const;     void get(Array<CIMInstance>& x) const;
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
 #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES  
  
     /**     /**
         Compares with another CIMValue object for equality.         Compares with another CIMValue object for equality.
Line 1059 
Line 1029 
     friend class CIMQualifierDeclRep;     friend class CIMQualifierDeclRep;
     friend class BinaryStreamer;     friend class BinaryStreamer;
     friend class XmlWriter;     friend class XmlWriter;
       friend class SCMOClass;
 }; };
  
 /** /**


Legend:
Removed from v.1.51.30.1  
changed lines
  Added in v.1.56.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2