#include <Pegasus/Common/Config.h>
#include <cassert>
#include <Pegasus/Client/CIMClient.h>
-#include <Pegasus/Common/Monitor.h>
#include <Pegasus/Common/HTTPConnector.h>
#include <Pegasus/Common/OptionManager.h>
#include <Pegasus/Common/Stopwatch.h>
Boolean includeQualifiers = false;
Boolean includeClassOrigin = false;
- Array<CIMNamedInstance> namedInstances;
- namedInstances = client.enumerateInstances(nameSpace,
+ Array<CIMInstance> instances;
+ instances = client.enumerateInstances(nameSpace,
className,
deepInheritance,
localOnly,
// Output the returned instances
- for (Uint32 i = 0; i < namedInstances.size(); i++)
+ for (Uint32 i = 0; i < instances.size(); i++)
{
- CIMInstance instance = namedInstances[i].getInstance();
+ CIMInstance instance = instances[i];
+ /* Took this out because not used and
+ toMof not member of CIMInstance any more
+ KS 6 June 2002
if (debug)
{
Array<Sint8> x;
mofFormat(cout, x.getData(), 4);
}
+ */
// Build a line for every information entry.
// Get the request type property for this instance