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

class PEGASUS_COMMON_LINKAGE CIMQualifierDecl

The CIMQualifierDecl class is used to represent CIM qualifier declarations in Pegasus.

Documentation

The CIMQualifierDecl class is used to represent CIM qualifier declarations in Pegasus. Note that the Declarations are not the same as CIM Qualiifers as seen on Classes, properties, etc. These are the original declarations of qualifiers (i.e. input from the compiler qualifier Declarations).

Inheritance:


Public Methods

[more] CIMQualifierDecl ()
Constructor
[more] CIMQualifierDecl (const CIMQualifierDecl& x)
Constructor - Creates a CIMQualifierDecl from another CIMQualifierDecl
[more] CIMQualifierDecl ( const CIMName& name, const CIMValue& value, const CIMScope & scope, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS), Uint32 arraySize = 0)
Constructor - Constructs a single CIMQualifierDecl object.
[more] ~CIMQualifierDecl ()
Destructor
[more]CIMQualifierDecl& operator= (const CIMQualifierDecl& x)
Operator
[more]const CIMName& getName () const
Get the name of the CIMQualifierDecl object.
[more]void setName (const CIMName& name)
Sets the name in the CIMQualifierDecl object.
[more]CIMType getType () const
Gets the Qualifier Declaration type which is the value type (boolean, etc.
[more]Boolean isArray () const
Determines if this qualifier declaration is an array type.
[more]const CIMValue& getValue () const
[more]void setValue (const CIMValue& value)
[more]const CIMScope& getScope () const
[more]const CIMFlavor& getFlavor () const
Gets the Flavor definition from the qualifier declaration.
[more]Uint32 getArraySize () const
[more]Boolean isUninitialized () const
Determines if the object has not been initialized.
[more]Boolean identical (const CIMConstQualifierDecl& x) const
Compares two qualifier declarations.
[more]CIMQualifierDecl clone () const

o CIMQualifierDecl()
Constructor

o CIMQualifierDecl(const CIMQualifierDecl& x)
Constructor - Creates a CIMQualifierDecl from another CIMQualifierDecl

o CIMQualifierDecl( const CIMName& name, const CIMValue& value, const CIMScope & scope, const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS), Uint32 arraySize = 0)
Constructor - Constructs a single CIMQualifierDecl object.
Parameters:
name - - CIMName containing the name of the Qualifier being created.
value - - CIMValue for the qualifier.
scope - - CIMScope containing the scope of the qualifier.
flavor - - Optional definition of the flavor for the qualifier. CIMFlavor::DEFAULTS is used if no value supplied.
arraySize - - Optional integer defining the arraysize if the qualifier is an array type with fixed value array. The default is zero indicating that the qualifier declaration is not a fixed size array.

o ~CIMQualifierDecl()
Destructor

oCIMQualifierDecl& operator=(const CIMQualifierDecl& x)
Operator

oconst CIMName& getName() const
Get the name of the CIMQualifierDecl object.
Returns:
CIMName containing the name of the CIMQualifierDecl object.

ovoid setName(const CIMName& name)
Sets the name in the CIMQualifierDecl object.
Parameters:
name - CIMName containing name to be set on this qualifier.

oCIMType getType() const
Gets the Qualifier Declaration type which is the value type (boolean, etc. for this qualifier).
Returns:
the type as CIMType.

oBoolean isArray() const
Determines if this qualifier declaration is an array type.
Returns:
true if this is an array type, false otherwise.

oconst CIMValue& getValue() const

ovoid setValue(const CIMValue& value)

oconst CIMScope& getScope() const

oconst CIMFlavor& getFlavor() const
Gets the Flavor definition from the qualifier declaration.
Returns:
CIMFlavor object containing the flavor flags. The CIMFlavor hasFlavor method can be used to test against the flavor constants defined in CIMFlavor. @See CIMFlavor

oUint32 getArraySize() const

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 CIMConstQualifierDecl& x) const
Compares two qualifier declarations.
Returns:
true if they are identical, false otherwise.

oCIMQualifierDecl clone() const


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

Alphabetic index HTML hierarchy of classes or Java