version 1.41, 2002/05/15 10:34:28
|
version 1.42, 2002/05/15 12:28:18
|
|
|
#include "CIMQualifierNames.h" | #include "CIMQualifierNames.h" |
#include "CIMScope.h" | #include "CIMScope.h" |
#include "XmlWriter.h" | #include "XmlWriter.h" |
|
#include "MofWriter.h" |
#include <Pegasus/Common/Tracer.h> | #include <Pegasus/Common/Tracer.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
// there is an error in getclass that does not | // there is an error in getclass that does not |
// test the localOnly flag. | // test the localOnly flag. |
if (!_properties[i].getPropagated()) | if (!_properties[i].getPropagated()) |
_properties[i].toMof(out); |
MofWriter::appendPropertyElement(out, _properties[i]); |
} | } |
| |
// Format the Methods: for non-propagated methods | // Format the Methods: for non-propagated methods |
for (Uint32 i = 0, n = _methods.size(); i < n; i++) | for (Uint32 i = 0, n = _methods.size(); i < n; i++) |
{ | { |
if (!_methods[i].getPropagated()) | if (!_methods[i].getPropagated()) |
_methods[i].toMof(out); |
MofWriter::appendMethodElement(out, _methods[i]); |
} | } |
| |
// Class closing element: | // Class closing element: |
out << "\n};\n"; | out << "\n};\n"; |
} | } |
| |
void CIMClassRep::printMof(PEGASUS_STD(ostream) &os) const |
|
{ |
|
Array<Sint8> tmp; |
|
toMof(tmp); |
|
tmp.append('\0'); |
|
os << tmp.getData() << PEGASUS_STD(endl); |
|
} |
|
|
|
| |
CIMClassRep::CIMClassRep() | CIMClassRep::CIMClassRep() |
{ | { |