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

Diff for /pegasus/src/Pegasus/Common/CIMParamValueRep.cpp between version 1.6 and 1.13

version 1.6, 2002/02/23 03:47:22 version 1.13, 2002/06/01 00:56:26
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
 // The Open Group, Tivoli Systems // 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
Line 30 
Line 30 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <cstdio> #include <cstdio>
 #include "XmlWriter.h" #include "XmlWriter.h"
 #include "CIMParamValue.h"  #include "CIMParamValueRep.h"
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 63 
Line 63 
  
     if (_isTyped && (type != CIMType::NONE))     if (_isTyped && (type != CIMType::NONE))
     {     {
         out << " PARAMTYPE=\"" << TypeToString(type) << "\"";          out << " PARAMTYPE=\"" << type.toString() << "\"";
     }     }
  
     out << ">\n";     out << ">\n";
       XmlWriter::appendValueElement(out, _value);
     _value.toXml(out);  
  
     out << "</PARAMVALUE>\n";     out << "</PARAMVALUE>\n";
 } }
  
 void CIMParamValueRep::print(PEGASUS_STD(ostream) &os) const  
 {  
     Array<Sint8> tmp;  
     toXml(tmp);  
     tmp.append('\0');  
     os << tmp.getData() << PEGASUS_STD(endl);  
 }  
   
 Boolean CIMParamValueRep::identical(const CIMParamValueRep* x) const Boolean CIMParamValueRep::identical(const CIMParamValueRep* x) const
 { {
     if (_parameterName != x->_parameterName)     if (_parameterName != x->_parameterName)
Line 108 
Line 99 
 { {
 } }
  
 // ATTN-RK-P3-20010219: Is this correct?  (See also CIMMethodRep.cpp,  
 // CIMParameterRep.cpp, CIMPropertyRep.cpp, CIMQualifierDeclRep.cpp,  
 // CIMQualifierRep.cpp)  
 CIMParamValueRep& CIMParamValueRep::operator=(const CIMParamValueRep& x)  
 {  
     return *this;  
 }  
   
 void CIMParamValueRep::setParameterName(String& parameterName) void CIMParamValueRep::setParameterName(String& parameterName)
 { {
     _parameterName = parameterName;     _parameterName = parameterName;


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2