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

class PEGASUS_COMMON_LINKAGE CIMQualifierDecl

A CIMQualifierDecl represents a DMTF standard CIM qualifier declaration.

Documentation

A CIMQualifierDecl represents a DMTF standard CIM qualifier declaration. A CIMQualifierDecl differs from a CIMQualifier in that it has a scope attribute. A CIMQualifierDecl defines a qualifier, whereas a CIMQualifier applies the qualifier.

The CIMQualifierDecl class uses a shared representation model, such that multiple CIMQualifierDecl 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 CIMQualifierDecl object affects all the CIMQualifierDecl objects that refer to the same data copy. The data remains valid until all the CIMQualifierDecl objects that refer to it are destructed. A separate copy of the data may be created using the clone method.


Inheritance:


Public Methods

[more] CIMQualifierDecl ()
Constructs an uninitialized CIMQualifierDecl object.
[more] CIMQualifierDecl (const CIMQualifierDecl& x)
Constructs a CIMQualifierDecl object from the value of a specified CIMQualifierDecl object, so that both objects refer to the same data copy.
[more] CIMQualifierDecl ( const CIMName& name, const CIMValue& value, const CIMScope & scope, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS), Uint32 arraySize = 0)
Constructs a CIMQualifierDecl object with the specified attributes.
[more] ~CIMQualifierDecl ()
Destructs the CIMQualifierDecl object
[more]CIMQualifierDecl& operator= (const CIMQualifierDecl& x)
Assigns the value of the specified CIMQualifierDecl 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]void setName (const CIMName& name)
Sets the qualifier name.
[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 default value.
[more]void setValue (const CIMValue& value)
Sets the qualifier default value.
[more]const CIMScope& getScope () const
Gets the qualifier scope.
[more]const CIMFlavor& getFlavor () const
Gets the qualifier flavors.
[more]Uint32 getArraySize () const
Gets the array size for the qualifier.
[more]Boolean isUninitialized () const
Determines whether the object has been initialized.
[more]Boolean identical (const CIMConstQualifierDecl& x) const
Compares the qualifier declaration with another qualifier declaration.
[more]CIMQualifierDecl clone () const
Makes a deep copy of the qualifier declaration.

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

o CIMQualifierDecl( const CIMName& name, const CIMValue& value, const CIMScope & scope, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS), Uint32 arraySize = 0)
Constructs a CIMQualifierDecl 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 default qualifier value, and implicitly defining the qualifier type and whether the qualifier is an Array qualifier.
scope - A CIMScope indicating the qualifier scope.
flavor - A CIMFlavor indicating the qualifier flavors.
arraySize - A Uint32 indicating the size of the Array, if the qualifier is an Array qualifier. The default value of zero indicates a variable size array.

o ~CIMQualifierDecl()
Destructs the CIMQualifierDecl object

oCIMQualifierDecl& operator=(const CIMQualifierDecl& x)
Assigns the value of the specified CIMQualifierDecl object to this object, so that both objects refer to the same data copy.
Parameters:
x - The CIMQualifierDecl object from which to assign this CIMQualifierDecl object.
Returns:
A reference to this CIMQualifierDecl 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.

ovoid setName(const CIMName& name)
Sets the qualifier name.
Throws:
UninitializedObjectException If the object is not initialized.
Parameters:
name - A CIMName containing the new 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 default value.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMValue containing the qualifier default value.

ovoid setValue(const CIMValue& value)
Sets the qualifier default value.
Throws:
UninitializedObjectException If the object is not initialized.
Parameters:
value - A CIMValue containing the new default value of the qualifier.

oconst CIMScope& getScope() const
Gets the qualifier scope.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
A CIMScope containing the qualifier scope.

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 getArraySize() const
Gets the array size for the qualifier.
Throws:
UninitializedObjectException If the object is not initialized.
Returns:
Uint32 array size.

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

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

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


This class has no child classes.
Friends:
class CIMConstQualifierDecl
class CIMClassRep
class XmlWriter
class MofWriter

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]