(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.16 and 1.20

version 1.16, 2002/05/15 23:14:20 version 1.20, 2002/06/01 00:56:28
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
   // The Open Group, Tivoli Systems
 // //
 // 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 97 
Line 98 
     ///  Constructor     ///  Constructor
     CIMType(Tag tag);     CIMType(Tag tag);
  
 #if 0 // ATTN-RK-P3-20020514: Why encourage/allow this?  
     /// Constructor  
     PEGASUS_EXPLICIT CIMType(Uint32 tag);  
 #endif  
   
     ///  Constructor     ///  Constructor
     CIMType(const CIMType& x);     CIMType(const CIMType& x);
  
Line 126 
Line 122 
     Tag _tag;     Tag _tag;
 }; };
  
 #if 0 // ATTN-RK-P3-20020514: These shouldn't be necessary because the  PEGASUS_COMMON_LINKAGE Boolean operator==(CIMType x, CIMType y);
       // compiler can convert CIMType to CIMType::Tag automatically  PEGASUS_COMMON_LINKAGE Boolean operator!=(CIMType x, CIMType y);
 inline Boolean operator==(CIMType x, CIMType y)  
 {  
     return CIMType::Tag(x) == CIMType::Tag(y);  
 }  
  
 inline Boolean operator!=(CIMType x, CIMType y)  PEGASUS_COMMON_LINKAGE Boolean operator==(CIMType x, CIMType::Tag y);
 {  PEGASUS_COMMON_LINKAGE Boolean operator==(CIMType::Tag x, CIMType y);
     return !operator==(x, y);  PEGASUS_COMMON_LINKAGE Boolean operator!=(CIMType x, CIMType::Tag y);
 }  PEGASUS_COMMON_LINKAGE Boolean operator!=(CIMType::Tag x, CIMType y);
 #endif  
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  


Legend:
Removed from v.1.16  
changed lines
  Added in v.1.20

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2