#include <CIMObjectPath.h>
List of all members.
Detailed Description
The CIMKeyBinding class associates a key name, value, and type. It is used to represent a key binding in a CIMObjectPath.
Member Enumeration Documentation
The CIMKeyBinding Type corresponds to the CIM-XML key binding definition, in which the CIMType values are mapped into categories.
- Enumerator:
-
Constructor & Destructor Documentation
CIMKeyBinding::CIMKeyBinding |
( |
|
) |
|
CIMKeyBinding::CIMKeyBinding |
( |
const CIMName & |
name, |
|
|
const String & |
value, |
|
|
Type |
type | |
|
) |
| | |
Constructs a CIMKeyBinding with a name, value, and type.
- Parameters:
-
CIMKeyBinding::CIMKeyBinding |
( |
const CIMName & |
name, |
|
|
const CIMValue & |
value | |
|
) |
| | |
Constructs a CIMKeyBinding with a key name and CIMValue. The key value and type are taken from the CIMValue. CIM types are converted to key binding types using this mapping:
boolean - BOOLEAN
uint8 - NUMERIC
sint8 - NUMERIC
uint16 - NUMERIC
sint16 - NUMERIC
uint32 - NUMERIC
sint32 - NUMERIC
uint64 - NUMERIC
sint64 - NUMERIC
real32 - NUMERIC
real64 - NUMERIC
char16 - STRING
string - STRING
datetime - STRING
reference - REFERENCE
A value of type CIMTYPE_OBJECT cannot be used in a key binding.
- Parameters:
-
| name | A CIMName containing the key name. |
| value | A CIMValue specifying the value and type of this key. |
- Exceptions:
-
CIMKeyBinding::~CIMKeyBinding |
( |
|
) |
|
Member Function Documentation
Boolean CIMKeyBinding::equal |
( |
CIMValue |
value |
) |
|
Compares the value and type of the key binding with a specified CIMValue.
- Parameters:
-
- Returns:
- True if the value and type of the key binding are the same as the specified CIMValue, false otherwise.
const CIMName& CIMKeyBinding::getName |
( |
|
) |
const |
Gets the key name for the key binding.
- Returns:
- A CIMName containing the key name.
Type CIMKeyBinding::getType |
( |
|
) |
const |
const String& CIMKeyBinding::getValue |
( |
|
) |
const |
Gets the key value for the key binding.
- Returns:
- A String containing the key value.
Assigns the value of the specified CIMKeyBinding object to this object.
- Parameters:
-
- Returns:
- A reference to this CIMKeyBinding object.
void CIMKeyBinding::setName |
( |
const CIMName & |
name |
) |
|
Sets the key name for the key binding.
- Parameters:
-
| name | A CIMName containing the key name. |
void CIMKeyBinding::setType |
( |
Type |
type |
) |
|
Sets the key type for the key binding.
- Parameters:
-
void CIMKeyBinding::setValue |
( |
const String & |
value |
) |
|
Sets the key value for the key binding.
- Parameters:
-
| value | A String containing the key value. |
The documentation for this class was generated from the following file:
- /home/builduser/trunk/pkgs/tog-pegasus/BUILD/pegasus/src/Pegasus/Common/CIMObjectPath.h