|
In file ..\..\src\Pegasus\Common\CIMReference.h:
The KeyBinding class associates a key name, value, and type.
Documentation
The KeyBinding class associates a key name, value, and type.
It is used by the reference class to represent key bindings.
See the CIMReference class to see how they are used.
Inheritance:
Public Methods
| KeyBinding ()
Default constructor
|
| KeyBinding (const KeyBinding& x)
Copy constructor
|
| KeyBinding (const String& name, const String& value, Type type)
Construct a KeyBinding with a name, value, and type
|
| ~KeyBinding ()
Destructor
|
KeyBinding& | operator= (const KeyBinding& x)
Assignment operator
|
const String& | getName () const
Accessor
|
void | setName (const String& name)
Modifier
|
const String& | getValue () const
Accessor
|
void | setValue (const String& value)
Modifier
|
Type | getType () const
Accessor
|
void | setType (Type type)
Modifier
|
static const char* | typeToString (Type type)
Converts the given type to one of the following: "boolean", "string", or "numeric"
|
- KeyBinding()
- Default constructor
- KeyBinding(const KeyBinding& x)
- Copy constructor
- KeyBinding(const String& name, const String& value, Type type)
- Construct a KeyBinding with a name, value, and type
- Parameters:
- name - String name for the key for this binding object.
value - String value for this key.
type -
- ~KeyBinding()
- Destructor
- KeyBinding& operator=(const KeyBinding& x)
- Assignment operator
- const String& getName() const
- Accessor
- void setName(const String& name)
- Modifier
- const String& getValue() const
- Accessor
- void setValue(const String& value)
- Modifier
- Type getType() const
- Accessor
- void setType(Type type)
- Modifier
- static const char* typeToString(Type type)
- Converts the given type to one of the following:
"boolean", "string", or "numeric"
- This class has no child classes.
- Friends:
- Boolean operator==(const KeyBinding& x, const KeyBinding& y)
class CIMReference
Alphabetic index HTML hierarchy of classes or Java
|