version 1.23.2.4, 2001/10/05 18:55:52
|
version 1.23.2.6, 2001/11/20 06:11:35
|
|
|
| |
//------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ |
// | // |
// appendClassParameter() |
// appendPropertyValueParameter() |
|
// |
|
//------------------------------------------------------------------------------ |
|
|
|
Array<Sint8>& XmlWriter::appendPropertyValueParameter( |
|
Array<Sint8>& out, |
|
const char* parameterName, |
|
const CIMValue& value) |
|
{ |
|
Array<Sint8> tmp; |
|
value.toXml(tmp); |
|
return formatIParamValueElement(out, parameterName, tmp); |
|
} |
|
|
|
//------------------------------------------------------------------------------ |
|
// |
|
// appendPropertyListParameter() |
|
// |
|
//------------------------------------------------------------------------------ |
|
|
|
Array<Sint8>& XmlWriter::appendPropertyListParameter( |
|
Array<Sint8>& out, |
|
const Array<String>& propertyList) |
|
{ |
|
Array<Sint8> tmp; |
|
|
|
tmp << "<VALUE.ARRAY>\n"; |
|
|
|
for (Uint32 i = 0; i < propertyList.size(); i++) |
|
{ |
|
tmp << "<VALUE>" << propertyList[i] << "</VALUE>\n"; |
|
} |
|
|
|
tmp << "</VALUE.ARRAY>\n"; |
|
return formatIParamValueElement(out, "PropertyList", tmp); |
|
} |
|
|
|
//------------------------------------------------------------------------------ |
|
// |
|
// appendQualifierDeclarationParameter() |
// | // |
//------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ |
| |