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

Diff for /pegasus/src/Pegasus/Common/CIMDateTime.h between version 1.2 and 1.9

version 1.2, 2001/03/23 20:19:20 version 1.9, 2001/07/10 06:43:22
Line 1 
Line 1 
 //BEGIN_LICENSE  //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a  // Permission is hereby granted, free of charge, to any person obtaining a copy
 // copy of this software and associated documentation files (the "Software"),  // of this software and associated documentation files (the "Software"), to
 // to deal in the Software without restriction, including without limitation  // deal in the Software without restriction, including without limitation the
 // the rights to use, copy, modify, merge, publish, distribute, sublicense,  // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 // and/or sell copies of the Software, and to permit persons to whom the  // sell copies of the Software, and to permit persons to whom the Software is
 // Software is furnished to do so, subject to the following conditions:  // furnished to do so, subject to the following conditions:
 // //
 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL  // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING  // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 // DEALINGS IN THE SOFTWARE.  // 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.
 // //
 //END_LICENSE  //==============================================================================
 //BEGIN_HISTORY  
 // //
 // Author:  // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // $Log$  // Modified By:
 // Revision 1.2  2001/03/23 20:19:20  mike  
 // Reformatted documentation. Added a couple of ATTN's  
 // //
 // Revision 1.1  2001/02/18 18:39:06  mike  //%/////////////////////////////////////////////////////////////////////////////
 // new  
 //  
 // Revision 1.2  2001/02/18 03:02:58  karl  
 // comment cleanup  
 //  
 // Revision 1.1  2001/02/16 02:07:06  mike  
 // Renamed many classes and headers (using new CIM prefixes).  
 //  
 // Revision 1.3  2001/02/06 17:04:03  karl  
 // add documentation  
 //  
 // Revision 1.2  2001/01/24 13:54:09  karl  
 // Add Doc++ Document Comments  
 //  
 // Revision 1.1.1.1  2001/01/14 19:50:41  mike  
 // Pegasus import  
 //  
 //  
 //END_HISTORY  
  
 #ifndef Pegasus_DateTime_h #ifndef Pegasus_DateTime_h
 #define Pegasus_DateTime_h #define Pegasus_DateTime_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
   #include <Pegasus/Common/Array.h>
 #include <iostream> #include <iostream>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 122 
Line 102 
     CIMDateTime();     CIMDateTime();
  
     /** CIMDateTime CIMMethod creates the CIM CIMDateTime from a string     /** CIMDateTime CIMMethod creates the CIM CIMDateTime from a string
         constant.          constant representing the CIM DateTime formatted datetime
           @param str String object containing the CIM DateTime formatted string
     */     */
     CIMDateTime(const char* str);     CIMDateTime(const char* str);
  
     /** CIMDateTime CIMMethod - Creates the CIMDateTime instance from another     /** CIMDateTime CIMMethod - Creates the CIMDateTime instance from another
         CIMDateTime instance          CIMDateTime object
           @param x CIMDateTime object to be copied.
     */     */
     CIMDateTime(const CIMDateTime& x);     CIMDateTime(const CIMDateTime& x);
  
     /** CIMDateTime method again      /** Destructor. */
       ~CIMDateTime() { }
   
       /**  assign CIMDateTime
     */     */
     CIMDateTime& operator=(const CIMDateTime& x);     CIMDateTime& operator=(const CIMDateTime& x);
  
Line 164 
Line 149 
     */     */
     void set(const char* str);     void set(const char* str);
  
     /// CIMDateTime method clear - Clears the datetime class instance.      ///  clear - Clears the datetime class instance.
     void clear();     void clear();
  
     /** CIMDateTime CIMMethod - ATTN: Friend operator Test for CIMDateTime     /** CIMDateTime CIMMethod - ATTN: Friend operator Test for CIMDateTime
Line 184 
Line 169 
     const CIMDateTime& x,     const CIMDateTime& x,
     const CIMDateTime& y);     const CIMDateTime& y);
  
 PEGASUS_COMMON_LINKAGE std::ostream& operator<<(  PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(
     std::ostream& os,      PEGASUS_STD(ostream)& os,
     const CIMDateTime& x);     const CIMDateTime& x);
  
   #define PEGASUS_ARRAY_T CIMDateTime
   # include "ArrayInter.h"
   #undef PEGASUS_ARRAY_T
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* Pegasus_DateTime_h */ #endif /* Pegasus_DateTime_h */


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2