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

Diff for /pegasus/src/Pegasus/Common/CIMType.h between version 1.26 and 1.36

version 1.26, 2003/11/12 15:27:53 version 1.36, 2008/12/01 17:49:50
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%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
 //  // Source License; you may not use this file except in compliance with the
 // Permission is hereby granted, free of charge, to any person obtaining a copy  // License.
 // of this software and associated documentation files (the "Software"), to  //
 // deal in the Software without restriction, including without limitation the  // Permission is hereby granted, free of charge, to any person obtaining a
 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or  // copy of this software and associated documentation files (the "Software"),
 // sell copies of the Software, and to permit persons to whom the Software is  // to deal in the Software without restriction, including without limitation
 // furnished to do so, subject to the following conditions:  // the rights to use, copy, modify, merge, publish, distribute, sublicense,
 //  // and/or sell copies of the Software, and to permit persons to whom the
 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN  // Software is furnished to do so, subject to the following conditions:
 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  //
 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT  // The above copyright notice and this permission notice shall be included
 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  // in all copies or substantial portions of the Software.
 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT  //
 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION  // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  // 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
 // Author: Mike Brasher (mbrasher@bmc.com)  // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //  //
 // Modified By: Ramnath Ravindran (Ramnath.Ravindran@compaq.com)  //////////////////////////////////////////////////////////////////////////
 //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)  
 //              Carol Ann Krug Graves, Hewlett-Packard Company  
 //                (carolann_graves@hp.com)  
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 47 
Line 44 
     representation type.     representation type.
  
     <pre>     <pre>
             CIM CIMType Constant                C++ CIMType          CIM Type    CIMType Symbol       C++ Type
             -------------------------------------------------------          ----------------------------------------------
             boolean     CIMTYPE_BOOLEAN         Boolean             boolean     CIMTYPE_BOOLEAN         Boolean
             uint8       CIMTYPE_UINT8           Uint8             uint8       CIMTYPE_UINT8           Uint8
             sint8       CIMTYPE_SINT8           Sint8             sint8       CIMTYPE_SINT8           Sint8
Line 64 
Line 61 
             string      CIMTYPE_STRING          String             string      CIMTYPE_STRING          String
             datetime    CIMTYPE_DATETIME        CIMDateTime             datetime    CIMTYPE_DATETIME        CIMDateTime
             reference   CIMTYPE_REFERENCE       CIMObjectPath             reference   CIMTYPE_REFERENCE       CIMObjectPath
           object      CIMTYPE_OBJECT       CIMObject (not a basic CIM type)
     </pre>     </pre>
 */ */
  
Line 83 
Line 81 
     CIMTYPE_CHAR16,     CIMTYPE_CHAR16,
     CIMTYPE_STRING,     CIMTYPE_STRING,
     CIMTYPE_DATETIME,     CIMTYPE_DATETIME,
     CIMTYPE_REFERENCE      CIMTYPE_REFERENCE,
       CIMTYPE_OBJECT,
       CIMTYPE_INSTANCE
 }; };
  
 /** /**
     Returns a string representation of the given type.      Gets a string representation of a CIMType.
  
     Note: the current implementation returns a string matching the first     Note: the current implementation returns a string matching the first
     column in the table above, but that is subject to change in later     column in the table above, but that is subject to change in later
     revisions.     revisions.
     @param type REVIEWERS: Insert description here.      @param type The CIMType to convert to string form.
       @return The string form of the specified CIMType.
  */  */
 PEGASUS_COMMON_LINKAGE const char * cimTypeToString ( PEGASUS_COMMON_LINKAGE const char * cimTypeToString (
     const CIMType type);     const CIMType type);


Legend:
Removed from v.1.26  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2