In file ../../src/Pegasus/Common/CIMQualifier.h:

class PEGASUS_COMMON_LINKAGE CIMQualifier

The CIMQualifier class is used to represent CIM qualifiers in Pegasus.

Documentation

The CIMQualifier class is used to represent CIM qualifiers in Pegasus. It is almost identical to CIMQualifierDecl except that it has no scope member. This includes functions to create qualifiers and manipulate/test the individual components of the CIMQualifier. CIMQualifiers are accumulated into lists for use in CIMClasses and CIMProperties using the CIMQualifierList Class and its functions.

Inheritance:


Public Methods

[more] CIMQualifier ()
Constructor - Creates a CIM qualifier object with empty name value fields
[more] CIMQualifier (const CIMQualifier& x)
Constructor - Creates a CIM qualifier object from another CIM qualifier object.
[more] CIMQualifier ( const CIMName& name, const CIMValue& value, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE), Boolean propagated = false)
Constructor - Creates a CIM qualifier object with the parameters defined on input.
[more] ~CIMQualifier ()
Destructor
[more]CIMQualifier& operator= (const CIMQualifier& x)
[more]const CIMName& getName () const
Returns the name field from the qualifier.
[more]void setName (const CIMName& name)
Sets the qualifier name field in the qualifier object.
[more]CIMType getType () const
Gets the type field from the qualifier object.
[more]Boolean isArray () const
Return true if the qualifier is an array.
[more]const CIMValue& getValue () const
Gets the value component of the qualifier object.
[more]void setValue (const CIMValue& value)
Puts a CIMValue object into a CIMQualifier object.
[more]void setFlavor (const CIMFlavor & flavor)
Sets the bits defined on input into the Flavor variable for the Qualifier Object.
[more]void unsetFlavor (const CIMFlavor & flavor)
Resets the bits defined for the flavor for the Qualifier Object with the input.
[more]const CIMFlavor& getFlavor () const
Gets the Flavor field from the Qualifier.
[more]const Uint32 getPropagated () const
Gets the Propagated flag for the qualifier.
[more]void setPropagated (Boolean propagated)
Sets the Propagated flag for the qualifier.
[more]Boolean isUninitialized () const
Determines if the object has not been initialized.
[more]Boolean identical (const CIMConstQualifier& x) const
Compares two CIMQualifier objects.
[more]CIMQualifier clone () const
Creates an exact copy of the qualifier and returns the new object.

o CIMQualifier()
Constructor - Creates a CIM qualifier object with empty name value fields

o CIMQualifier(const CIMQualifier& x)
Constructor - Creates a CIM qualifier object from another CIM qualifier object.
Parameters:
x - - CIMQualifier object.

o CIMQualifier( const CIMName& name, const CIMValue& value, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE), Boolean propagated = false)
Constructor - Creates a CIM qualifier object with the parameters defined on input.
Parameters:
name - - CIMName representing name for the new qualifier.
value - - CIMValue from which to extract the value for the keys.
flavor - - Flavor defined for this qualifier definition. Default for this parameter is CIMFlavor::NONE.
propagated - - Boolean defining whether this is a propagated qualifier. This is an optional parameter with default = false

o ~CIMQualifier()
Destructor

oCIMQualifier& operator=(const CIMQualifier& x)

oconst CIMName& getName() const
Returns the name field from the qualifier.
Returns:
CIMName containing the qualifier name.

ovoid setName(const CIMName& name)
Sets the qualifier name field in the qualifier object.
Parameters:
name - - CIMName containing the name for the qualifier.

oCIMType getType() const
Gets the type field from the qualifier object.
Returns:
CIMType containing the type for this qualifier.

oBoolean isArray() const
Return true if the qualifier is an array.
Returns:
true if the qualifier is an array, false otherwise.

oconst CIMValue& getValue() const
Gets the value component of the qualifier object.
Returns:
CIMValue containing the value component.

ovoid setValue(const CIMValue& value)
Puts a CIMValue object into a CIMQualifier object.
Parameters:
value - - The CIMValue object to install.

ovoid setFlavor(const CIMFlavor & flavor)
Sets the bits defined on input into the Flavor variable for the Qualifier Object.
Parameters:
flavor - - CIMFlavor object defines the flavor bits to be set.

ovoid unsetFlavor(const CIMFlavor & flavor)
Resets the bits defined for the flavor for the Qualifier Object with the input.
Parameters:
flavor - - CIMFlavor object defines the flavor bits to be unset.

oconst CIMFlavor& getFlavor() const
Gets the Flavor field from the Qualifier.
Returns:
CIMFlavor object from this qualifier.

oconst Uint32 getPropagated() const
Gets the Propagated flag for the qualifier. (Note: Although this method is intended to return a Boolean value, changing the return type would break interface compatibility.)
Returns:
non-zero if qualifier is propagated, zero otherwise.

ovoid setPropagated(Boolean propagated)
Sets the Propagated flag for the qualifier.
Parameters:
propagated - - Flag indicating propagation.

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

oBoolean identical(const CIMConstQualifier& x) const
Compares two CIMQualifier objects.
Returns:
true if the objects are identical, false otherwise.

oCIMQualifier clone() const
Creates an exact copy of the qualifier and returns the new object.
Returns:
copy of CIMQualifier object.


This class has no child classes.
Friends:
class CIMConstQualifier
class CIMClassRep
class Resolver
class XmlWriter
class MofWriter
class BinaryStreamer

Alphabetic index HTML hierarchy of classes or Java