version 1.29, 2003/10/22 14:26:02
|
version 1.30, 2004/04/14 22:18:56
|
|
|
} | } |
else | else |
{ | { |
// ATTN: revisit this later! |
// ATTN: revisit this later! (Make consistent with CIMPropertyRep) |
#if 0 | #if 0 |
if (_type == CIMTYPE_REFERENCE) | if (_type == CIMTYPE_REFERENCE) |
throw TypeMismatchException(); | throw TypeMismatchException(); |
|
|
{ | { |
if (_isArray) | if (_isArray) |
{ | { |
out << "<PARAMETER.ARRAY"; |
if (_type == CIMTYPE_REFERENCE) |
|
{ |
|
out << "<PARAMETER.REFARRAY"; |
out << " NAME=\"" << _name << "\" "; | out << " NAME=\"" << _name << "\" "; |
| |
|
if (!_referenceClassName.isNull()) |
|
{ |
|
out << " REFERENCECLASS=\"" << _referenceClassName.getString() |
|
<< "\""; |
|
} |
|
|
|
out << ">\n"; |
|
|
|
_qualifiers.toXml(out); |
|
|
|
out << "</PARAMETER.REFARRAY>\n"; |
|
} |
|
else |
|
{ |
|
out << "<PARAMETER.ARRAY"; |
|
out << " NAME=\"" << _name << "\" "; |
out << " TYPE=\"" << cimTypeToString (_type) << "\""; | out << " TYPE=\"" << cimTypeToString (_type) << "\""; |
| |
if (_arraySize) | if (_arraySize) |
|
|
| |
out << "</PARAMETER.ARRAY>\n"; | out << "</PARAMETER.ARRAY>\n"; |
} | } |
|
} |
else if (_type == CIMTYPE_REFERENCE) | else if (_type == CIMTYPE_REFERENCE) |
{ | { |
out << "<PARAMETER.REFERENCE"; | out << "<PARAMETER.REFERENCE"; |
out << " NAME=\"" << _name << "\" "; | out << " NAME=\"" << _name << "\" "; |
out << " REFERENCECLASS=\"" << _referenceClassName << "\""; |
if (!_referenceClassName.isNull()) |
|
{ |
|
out << " REFERENCECLASS=\"" << _referenceClassName.getString() << |
|
"\""; |
|
} |
out << ">\n"; | out << ">\n"; |
| |
_qualifiers.toXml(out); | _qualifiers.toXml(out); |