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

class PEGASUS_COMMON_LINKAGE CIMConstQualifier

The CIMConstQualifier class provides a const interface to a CIMQualifier object.

Documentation

The CIMConstQualifier class provides a const interface to a CIMQualifier object. This class is needed because the shared representation model used by CIMQualifier does not prevent modification to a const CIMQualifier object. Note that the value of a CIMConstQualifier object could still be modified by a CIMQualifier object that refers to the same data copy.

Inheritance:


Public Methods

[more] CIMConstQualifier ()
Constructs an uninitialized CIMConstQualifier object.
[more] CIMConstQualifier (const CIMConstQualifier& x)
Constructs a CIMConstQualifier object from the value of a specified CIMConstQualifier object, so that both objects refer to the same data copy.
[more] CIMConstQualifier (const CIMQualifier& x)
Constructs a CIMConstQualifier object from the value of a specified CIMQualifier object, so that both objects refer to the same data copy.
[more] CIMConstQualifier ( const CIMName& name, const CIMValue& value, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE), Boolean propagated = false)
Constructs a CIMConstQualifier object with the specified attributes.
[more] ~CIMConstQualifier ()
Destructs the CIMQualifier object
[more]CIMConstQualifier& operator= (const CIMConstQualifier& x)
Assigns the value of the specified CIMConstQualifier object to this object, so that both objects refer to the same data copy.
[more]CIMConstQualifier& operator= (const CIMQualifier& x)
Assigns the value of the specified CIMQualifier object to this object, so that both objects refer to the same data copy.
[more]const CIMName& getName () const
Gets the name of the qualifier.
[more]CIMType getType () const
Gets the qualifier type.
[more]Boolean isArray () const
Checks whether the qualifier is an Array qualifier.
[more]const CIMValue& getValue () const
Gets the qualifier value.
[more]const CIMFlavor& getFlavor () const
Gets the qualifier flavors.
[more]Uint32 getPropagated () const
Tests the propagated attribute of the qualifier.
[more]Boolean isUninitialized () const
Determines whether the object has been initialized.
[more]Boolean identical (const CIMConstQualifier& x) const
Compares the qualifier with another qualifier.
[more]CIMQualifier clone () const
Makes a deep copy of the qualifier.

o CIMConstQualifier()
Constructs an uninitialized CIMConstQualifier 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 CIMConstQualifier(const CIMConstQualifier& x)
Constructs a CIMConstQualifier object from the value of a specified CIMConstQualifier object, so that both objects refer to the same data copy.
Parameters:
x - The CIMConstQualifier object from which to construct a new CIMConstQualifier object.

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

o CIMConstQualifier( const CIMName& name, const CIMValue& value, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE), Boolean propagated = false)
Constructs a CIMConstQualifier object with the specified attributes.
Throws:
UninitializedObjectException If the qualifier name is null.
Parameters:
name - A CIMName specifying the name of the qualifier.
value - A CIMValue specifying the qualifier value, and implicitly defining the qualifier type and whether the qualifier is an Array qualifier.
flavor - A CIMFlavor indicating the qualifier flavors.
propagated - A Boolean indicating whether the qualifier is local to the context in which it appears or was propagated (without modification) from other schema.

o ~CIMConstQualifier()
Destructs the CIMQualifier object

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

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

oconst CIMName& getName() const
Gets the name of the qualifier.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMName containing the name of the qualifier.

oCIMType getType() const
Gets the qualifier type.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMType containing the qualifier type.

oBoolean isArray() const
Checks whether the qualifier is an Array qualifier.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
True if the qualifier is an Array qualifier, false otherwise.

oconst CIMValue& getValue() const
Gets the qualifier value.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMValue containing the qualifier value.

oconst CIMFlavor& getFlavor() const
Gets the qualifier flavors.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMFlavor containing the qualifier flavor settings.

oUint32 getPropagated() const
Tests the propagated attribute of the qualifier. The propagated attribute indicates whether this qualifier was propagated from a higher-level class. Normally this attribute is set as part of defining a qualifier in the context of a schema. It is set in qualifiers retrieved from a CIM Server. (Note: Although this method is intended to return a Boolean value, changing the return type would break interface compatibility.)
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
Non-zero if qualifier is propagated, otherwise zero.

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

oBoolean identical(const CIMConstQualifier& x) const
Compares the qualifier with another qualifier.
Throws:
UninitializedObjectException If either of the objects is not initialized.
Parameters:
x - The CIMConstQualifier to be compared.
Returns:
True if this qualifier is identical to the one specified, false otherwise.

oCIMQualifier clone() const
Makes a deep copy of the qualifier. This creates a new copy of all the qualifier attributes.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMQualifier object with a separate copy of the CIMConstQualifier object.


This class has no child classes.
Friends:
class CIMQualifier
class XmlWriter
class MofWriter

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]