In file ..\..\src\Pegasus\Common\CIMReference.h:

class PEGASUS_COMMON_LINKAGE KeyBinding

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

[more] KeyBinding ()
Default constructor
[more] KeyBinding (const KeyBinding& x)
Copy constructor
[more] KeyBinding (const String& name, const String& value, Type type)
Construct a KeyBinding with a name, value, and type
[more] ~KeyBinding ()
Destructor
[more]KeyBinding& operator= (const KeyBinding& x)
Assignment operator
[more]const String& getName () const
Accessor
[more]void setName (const String& name)
Modifier
[more]const String& getValue () const
Accessor
[more]void setValue (const String& value)
Modifier
[more]Type getType () const
Accessor
[more]void setType (Type type)
Modifier
[more]static const char* typeToString (Type type)
Converts the given type to one of the following: "boolean", "string", or "numeric"

o KeyBinding()
Default constructor

o KeyBinding(const KeyBinding& x)
Copy constructor

o 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 -

o ~KeyBinding()
Destructor

oKeyBinding& operator=(const KeyBinding& x)
Assignment operator

oconst String& getName() const
Accessor

ovoid setName(const String& name)
Modifier

oconst String& getValue() const
Accessor

ovoid setValue(const String& value)
Modifier

oType getType() const
Accessor

ovoid setType(Type type)
Modifier

ostatic 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