[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/CIMParamValue.h:

class PEGASUS_COMMON_LINKAGE CIMParamValue

The CIMParamValue class represents an extrinsic method parameter value, as defined in the DMTF Specification for CIM Operations over HTTP.

Documentation

The CIMParamValue class represents an extrinsic method parameter value, as defined in the DMTF Specification for CIM Operations over HTTP.

The CIMParamValue class uses a shared representation model, such that multiple CIMParamValue objects may refer to the same data copy. Assignment and copy operators create new references to the same data, not distinct copies. An update to a CIMParamValue object affects all the CIMParamValue objects that refer to the same data copy. The data remains valid until all the CIMParamValue objects that refer to it are destructed. A separate copy of the data may be created using the clone method.


Inheritance:


Public Methods

[more] CIMParamValue ()
Constructs an uninitialized CIMParamValue object.
[more] CIMParamValue (const CIMParamValue& x)
Constructs a CIMParamValue object from the value of a specified CIMParamValue object, so that both objects refer to the same data copy.
[more]CIMParamValue& operator= (const CIMParamValue& x)
Assigns the value of the specified CIMParamValue object to this object, so that both objects refer to the same data copy.
[more] CIMParamValue ( String parameterName, CIMValue value, Boolean isTyped=true)
Constructs a parameter value with the specified attributes.
[more] ~CIMParamValue ()
Destructs the CIMParamValue object
[more]String getParameterName () const
Gets the parameter name for the parameter value.
[more]CIMValue getValue () const
Gets the value for the parameter.
[more]Boolean isTyped () const
Checks whether the parameter value has the correct type.
[more]void setParameterName (String& parameterName)
Sets the parameter name for the parameter value.
[more]void setValue (CIMValue& value)
Sets the value for the parameter.
[more]void setIsTyped (Boolean isTyped)
Sets a flag indicating whether the parameter value has the correct type.
[more]CIMParamValue clone () const
Makes a deep copy of the object.
[more]Boolean isUninitialized () const
Determines whether the object has been initialized.

o CIMParamValue()
Constructs an uninitialized CIMParamValue object. A method invocation on an uninitialized object will result in the throwing of an UninitializedObjectException. An uninitialized object may be converted into an initialized object only by using the assignment operator with an initialized object.

o CIMParamValue(const CIMParamValue& x)
Constructs a CIMParamValue object from the value of a specified CIMParamValue object, so that both objects refer to the same data copy.
Parameters:
x - The CIMParamValue object from which to construct a new CIMParamValue object.

oCIMParamValue& operator=(const CIMParamValue& x)
Assigns the value of the specified CIMParamValue object to this object, so that both objects refer to the same data copy.
Parameters:
x - The CIMParamValue object from which to assign this CIMParamValue object.
Returns:
A reference to this CIMParamValue object.

o CIMParamValue( String parameterName, CIMValue value, Boolean isTyped=true)
Constructs a parameter value with the specified attributes.
Throws:
UninitializedObjectException If the parameter name is an empty String.
Parameters:
parameterName - A String containing the name of this parameter.
value - A CIMValue containing the value of this parameter.
- isTyped A Boolean indicating whether the type indicated in the value is correct. This is needed because the Specification for the Representation of CIM in XML does not require type information to be specified with a parameter value.

o ~CIMParamValue()
Destructs the CIMParamValue object

oString getParameterName() const
Gets the parameter name for the parameter value.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A String containing the parameter name.

oCIMValue getValue() const
Gets the value for the parameter.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMValue containing the parameter value.

oBoolean isTyped() const
Checks whether the parameter value has the correct type.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
True if the parameter value is known to have the correct type, false otherwise.

ovoid setParameterName(String& parameterName)
Sets the parameter name for the parameter value.
Throws:
UninitializedObjectException If the object is not initialized.
Parameters:
parameterName - A String containing the parameter name.

ovoid setValue(CIMValue& value)
Sets the value for the parameter.
Throws:
UninitializedObjectException If the object is not initialized.
Parameters:
value - A CIMValue containing the parameter value.

ovoid setIsTyped(Boolean isTyped)
Sets a flag indicating whether the parameter value has the correct type.
Throws:
UninitializedObjectException If the object is not initialized.
Parameters:
- isTyped A Boolean indicating whether the parameter value is known to have the correct type.

oCIMParamValue clone() const
Makes a deep copy of the object. This creates a new copy of all the object attributes.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A new copy of the CIMParamValue object.

oBoolean isUninitialized() const
Determines whether the object has been initialized.
Returns:
True if the object has not been initialized, false otherwise.


This class has no child classes.
Friends:
class XmlWriter

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]