|
CIMFlavor Class Reference#include <CIMFlavor.h>
List of all members.
Detailed Description
The CIMFlavor class represents the DMTF standard CIM qualifier flavor definition, which encapsulates the propagation and override rules for qualifiers. The propagation rules define whether a qualifier may be propagated from classes to derived classes or from classes to instances. The override rules define whether a derived class may override a qualifier value.
A CIMFlavor contains one or more of these values: OVERRIDABLE, TOSUBCLASS, TOINSTANCE, TRANSLATABLE, DISABLEOVERRIDE, ENABLEOVERRIDE, RESTRICTED and DEFAULTS.
Constructor & Destructor Documentation
Constructs a CIMFlavor object with the value NONE.
CIMFlavor::CIMFlavor |
( |
const CIMFlavor & |
flavor |
) |
|
Member Function Documentation
void CIMFlavor::addFlavor |
( |
const CIMFlavor & |
flavor |
) |
|
Adds flavor values to the CIMFlavor object. - Parameters:
-
| flavor | A CIMFlavor containing the flavor values to add. |
Boolean CIMFlavor::equal |
( |
const CIMFlavor & |
flavor |
) |
const |
Compares the CIMFlavor with a specified CIMFlavor. - Parameters:
-
- Returns:
- True if this flavor has the same set of values as the specified flavor, false otherwise.
Boolean CIMFlavor::hasFlavor |
( |
const CIMFlavor & |
flavor |
) |
const |
Checks whether the flavor contains specified flavor values. - Parameters:
-
| flavor | A CIMFlavor specifying the flavor values to check. |
- Returns:
- True if the flavor contains all the values in the specified CIMFlavor object, false otherwise.
Adds two flavor values. - Parameters:
-
| flavor | A CIMFlavor containing the flavor value to add to this flavor. |
- Returns:
- A new CIMFlavor object containing a union of the values in the two flavor objects.
Assigns the value of the specified CIMFlavor object to this object. - Parameters:
-
- Returns:
- A reference to this CIMFlavor object.
void CIMFlavor::removeFlavor |
( |
const CIMFlavor & |
flavor |
) |
|
Removes flavor values from the CIMFlavor object. - Parameters:
-
| flavor | A CIMFlavor containing the flavor values to remove. |
String CIMFlavor::toString |
( |
|
) |
const |
Returns a String representation of the CIMFlavor object. This method is for diagnostic purposes. The format of the output is subject to change. - Returns:
- A String containing a human-readable representation of the flavor value.
Member Data Documentation
Indicates the default flavor settings (OVERRIDABLE | TOSUBCLASS).
Indicates that the override feature is disabled for the qualifier. Thus, the qualifier may not be overridden.
Indicates that the override feature is enabled for the qualifier. Thus, the qualifier may be overridden.
Indicates that the qualifier has no flavors.
Indicates that the qualifier may be overridden.
Indicates that the qualifier is not propagated to subclasses.
Indicates that the qualifier is propagated to instances.
Indicates that the qualifier is propagated to subclasses.
Indicates that the qualifier is propagated to subclasses and to instances (TOSUBCLASS | TOINSTANCE).
Indicates that the qualifier is translatable (for internationalization).
The documentation for this class was generated from the following file:
- /scratch/rpmbuild.17644.V17674/pegasus/src/Pegasus/Common/CIMFlavor.h
|