void CIMParamValueToXML(CIMParamValue const& pv, std::ostream& ostr) { ostr << "<PARAMVALUE NAME=\"" << pv.getName() << "\""; if (pv.getValue()) { String type = pv.getValue().getCIMDataType().toString(); if (type == "REF") { type = "reference"; } ostr << " PARAMTYPE=\"" << type << "\""; if (pv.getValue().getCIMDataType().isEmbeddedObjectType()) { ostr << " EmbeddedObject=\"object\""; } ostr << ">"; CIMtoXML(pv.getValue(), ostr); } else { ostr << '>'; } ostr << "</PARAMVALUE>"; }