[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Common/CIMObjectPath.h:

class PEGASUS_COMMON_LINKAGE CIMKeyBinding

The CIMKeyBinding class associates a key name, value, and type.

Documentation

The CIMKeyBinding class associates a key name, value, and type. It is used to represent a key binding in a CIMObjectPath.

Inheritance:


Public Methods

[more] CIMKeyBinding ()
Constructs a CIMKeyBinding object with null values
[more] CIMKeyBinding (const CIMKeyBinding& x)
Constructs a CIMKeyBinding object from the value of a specified CIMKeyBinding object.
[more] CIMKeyBinding (const CIMName& name, const String& value, Type type)
Constructs a CIMKeyBinding with a name, value, and type.
[more] CIMKeyBinding (const CIMName& name, const CIMValue& value)
Constructs a CIMKeyBinding with a key name and CIMValue.
[more] ~CIMKeyBinding ()
Destructs the CIMKeyBinding object
[more]CIMKeyBinding& operator= (const CIMKeyBinding& x)
Assigns the value of the specified CIMKeyBinding object to this object.
[more]const CIMName& getName () const
Gets the key name for the key binding.
[more]void setName (const CIMName& name)
Sets the key name for the key binding.
[more]const String& getValue () const
Gets the key value for the key binding.
[more]void setValue (const String& value)
Sets the key value for the key binding.
[more]Type getType () const
Gets the key type for the key binding.
[more]void setType (Type type)
Sets the key type for the key binding.
[more]Boolean equal (CIMValue value)
Compares the value and type of the key binding with a specified CIMValue.

Public Members

[more]enum Type
The CIMKeyBinding Type corresponds to the CIM-XML key binding definition, in which the CIMType values are mapped into categories

oenum Type
The CIMKeyBinding Type corresponds to the CIM-XML key binding definition, in which the CIMType values are mapped into categories

o BOOLEAN
Boolean type

o STRING
String, Char16, and CIMDateTime types

o NUMERIC
Integer and real number types

o REFERENCE
CIMObjectPath (reference) type

o CIMKeyBinding()
Constructs a CIMKeyBinding object with null values

o CIMKeyBinding(const CIMKeyBinding& x)
Constructs a CIMKeyBinding object from the value of a specified CIMKeyBinding object.
Parameters:
x - The CIMKeyBinding object from which to construct a new CIMKeyBinding object.

o CIMKeyBinding(const CIMName& name, const String& value, Type type)
Constructs a CIMKeyBinding with a name, value, and type.
Parameters:
name - A CIMName containing the key name.
value - A String value for this key.
type - A CIMKeyBinding::Type specifying the type of this key.

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

Throws:
TypeMismatchException If the type is not a valid key type, false otherwise.
Parameters:
name - A CIMName containing the key name.
value - A CIMValue specifying the value and type of this key.

o ~CIMKeyBinding()
Destructs the CIMKeyBinding object

oCIMKeyBinding& operator=(const CIMKeyBinding& x)
Assigns the value of the specified CIMKeyBinding object to this object.
Parameters:
x - The CIMKeyBinding object from which to assign this CIMKeyBinding object.
Returns:
A reference to this CIMKeyBinding object.

oconst CIMName& getName() const
Gets the key name for the key binding.
Returns:
A CIMName containing the key name.

ovoid setName(const CIMName& name)
Sets the key name for the key binding.
Parameters:
name - A CIMName containing the key name.

oconst String& getValue() const
Gets the key value for the key binding.
Returns:
A String containing the key value.

ovoid setValue(const String& value)
Sets the key value for the key binding.
Parameters:
value - A String containing the key value.

oType getType() const
Gets the key type for the key binding.
Returns:
A CIMKeyBinding::Type containing the key type.

ovoid setType(Type type)
Sets the key type for the key binding.
Parameters:
type - A CIMKeyBinding::Type containing the key type.

oBoolean equal(CIMValue value)
Compares the value and type of the key binding with a specified CIMValue.
Parameters:
value - The CIMValue to be compared.
Returns:
True if the value and type of the key binding are the same as the specified CIMValue, false otherwise.


This class has no child classes.
Friends:
class CIMObjectPath

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]