version 1.24, 2007/06/05 10:10:30
|
version 1.25, 2007/06/29 17:43:16
|
|
|
// | // |
// List of read only CIM Operations | // List of read only CIM Operations |
// | // |
static const CIMName READ_OPERATIONS [] = { |
static const CIMName READ_OPERATIONS [] = |
|
{ |
CIMName ("GetClass"), | CIMName ("GetClass"), |
CIMName ("GetInstance"), | CIMName ("GetInstance"), |
CIMName ("EnumerateClassNames"), | CIMName ("EnumerateClassNames"), |
|
|
CIMName ("EnumerateClasses"), | CIMName ("EnumerateClasses"), |
CIMName ("EnumerateInstances"), | CIMName ("EnumerateInstances"), |
CIMName ("ExecQuery"), | CIMName ("ExecQuery"), |
CIMName ("GetProperty") }; |
CIMName("GetProperty") |
|
}; |
| |
// | // |
// List of write CIM Operations | // List of write CIM Operations |
// | // |
static const CIMName WRITE_OPERATIONS [] = { |
static const CIMName WRITE_OPERATIONS [] = |
|
{ |
CIMName ("CreateClass"), | CIMName ("CreateClass"), |
CIMName ("CreateInstance"), | CIMName ("CreateInstance"), |
CIMName ("DeleteQualifier"), | CIMName ("DeleteQualifier"), |
|
|
CIMName ("InvokeMethod"), | CIMName ("InvokeMethod"), |
CIMName ("EnableIndicationSubscription"), | CIMName ("EnableIndicationSubscription"), |
CIMName ("ModifyIndicationSubscription"), | CIMName ("ModifyIndicationSubscription"), |
CIMName ("DisableIndicationSubscription") }; |
CIMName("DisableIndicationSubscription") |
|
}; |
| |
| |
// | // |
|
|
// call enumerateInstancesForClass of the repository | // call enumerateInstancesForClass of the repository |
// | // |
namedInstances = _repository->enumerateInstancesForClass( | namedInstances = _repository->enumerateInstancesForClass( |
PEGASUS_NAMESPACENAME_AUTHORIZATION, PEGASUS_CLASSNAME_AUTHORIZATION); |
PEGASUS_NAMESPACENAME_AUTHORIZATION, |
|
PEGASUS_CLASSNAME_AUTHORIZATION); |
| |
// | // |
// get all the user names, namespaces, and authorizations | // get all the user names, namespaces, and authorizations |