version 1.78, 2002/07/25 16:19:45
|
version 1.79, 2002/07/30 16:14:53
|
|
|
{ | { |
_LoadObject(classFilePath, cimClass); | _LoadObject(classFilePath, cimClass); |
} | } |
catch (Exception&) |
catch (Exception& e) |
{ | { |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
throw PEGASUS_CIM_EXCEPTION(CIM_ERR_NOT_FOUND, className); | throw PEGASUS_CIM_EXCEPTION(CIM_ERR_NOT_FOUND, className); |
|
|
if (r.getHost().size() == 0) | if (r.getHost().size() == 0) |
r.setHost(System::getHostName()); | r.setHost(System::getHostName()); |
| |
if (r.getNameSpace().size() == 0) |
if (r.getNameSpace().isNull()) |
r.setNameSpace(nameSpace); | r.setNameSpace(nameSpace); |
| |
result.append(r); | result.append(r); |
|
|
if (r.getHost().size() == 0) | if (r.getHost().size() == 0) |
r.setHost(System::getHostName()); | r.setHost(System::getHostName()); |
| |
if (r.getNameSpace().size() == 0) |
if (r.getNameSpace().isNull()) |
r.setNameSpace(nameSpace); | r.setNameSpace(nameSpace); |
| |
result.append(r); | result.append(r); |
|
|
// Create the propertyList to pass to modifyInstance() | // Create the propertyList to pass to modifyInstance() |
// | // |
| |
Array<String> propertyListArray; |
Array<CIMName> propertyListArray; |
propertyListArray.append(propertyName); | propertyListArray.append(propertyName); |
CIMPropertyList propertyList(propertyListArray); | CIMPropertyList propertyList(propertyListArray); |
| |