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

class PEGASUS_COMMON_LINKAGE CIMFlavor

The CIMFlavor class represents the DMTF standard CIM qualifier flavor definition, which encapsulates the propagation and override rules for qualifiers.

Documentation

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.


Inheritance:


Public Fields

[more]static const CIMFlavor NONE
Indicates that the qualifier has no flavors
[more]static const CIMFlavor OVERRIDABLE
Indicates that the qualifier may be overridden
[more]static const CIMFlavor ENABLEOVERRIDE
Indicates that the override feature is enabled for the qualifier.
[more]static const CIMFlavor DISABLEOVERRIDE
Indicates that the override feature is disabled for the qualifier.
[more]static const CIMFlavor TOSUBCLASS
Indicates that the qualifier is propagated to subclasses
[more]static const CIMFlavor RESTRICTED
Indicates that the qualifier is not propagated to subclasses
[more]static const CIMFlavor TOINSTANCE
Indicates that the qualifier is propagated to instances.
[more]static const CIMFlavor TRANSLATABLE
Indicates that the qualifier is translatable (for internationalization)
[more]static const CIMFlavor DEFAULTS
Indicates the default flavor settings (OVERRIDABLE | TOSUBCLASS)
[more]static const CIMFlavor TOSUBELEMENTS
Indicates that the qualifier is propagated to subclasses.

Public Methods

[more] CIMFlavor ()
Constructs a CIMFlavor object with the value NONE
[more] CIMFlavor (const CIMFlavor & flavor)
Constructs a CIMFlavor object from the value of a specified CIMFlavor object.
[more]CIMFlavor& operator= (const CIMFlavor& flavor)
Assigns the value of the specified CIMFlavor object to this object.
[more]void addFlavor (const CIMFlavor& flavor)
Adds flavor values to the CIMFlavor object.
[more]void removeFlavor (const CIMFlavor& flavor)
Removes flavor values from the CIMFlavor object.
[more]Boolean hasFlavor (const CIMFlavor& flavor) const
Checks whether the flavor contains specified flavor values.
[more]Boolean equal (const CIMFlavor& flavor) const
Compares the CIMFlavor with a specified CIMFlavor.
[more]CIMFlavor operator+ (const CIMFlavor& flavor) const
Adds two flavor values.
[more]String toString () const
Returns a String representation of the CIMFlavor object.

o CIMFlavor()
Constructs a CIMFlavor object with the value NONE

o CIMFlavor(const CIMFlavor & flavor)
Constructs a CIMFlavor object from the value of a specified CIMFlavor object.
Parameters:
flavor - The CIMFlavor object from which to construct a new CIMFlavor object.

oCIMFlavor& operator=(const CIMFlavor& flavor)
Assigns the value of the specified CIMFlavor object to this object.
Parameters:
flavor - The CIMFlavor object from which to assign this CIMFlavor object.
Returns:
A reference to this CIMFlavor object.

ovoid addFlavor(const CIMFlavor& flavor)
Adds flavor values to the CIMFlavor object.
Parameters:
flavor - A CIMFlavor containing the flavor values to add.

ovoid removeFlavor(const CIMFlavor& flavor)
Removes flavor values from the CIMFlavor object.
Parameters:
flavor - A CIMFlavor containing the flavor values to remove.

oBoolean 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.

oBoolean equal(const CIMFlavor& flavor) const
Compares the CIMFlavor with a specified CIMFlavor.
Parameters:
flavor - The CIMFlavor to be compared.
Returns:
True if this flavor has the same set of values as the specified flavor, false otherwise.

oCIMFlavor operator+(const CIMFlavor& flavor) const
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.

oString 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.

ostatic const CIMFlavor NONE
Indicates that the qualifier has no flavors

ostatic const CIMFlavor OVERRIDABLE
Indicates that the qualifier may be overridden

ostatic const CIMFlavor ENABLEOVERRIDE
Indicates that the override feature is enabled for the qualifier. Thus, the qualifier may be overridden.

ostatic const CIMFlavor DISABLEOVERRIDE
Indicates that the override feature is disabled for the qualifier. Thus, the qualifier may not be overridden.

ostatic const CIMFlavor TOSUBCLASS
Indicates that the qualifier is propagated to subclasses

ostatic const CIMFlavor RESTRICTED
Indicates that the qualifier is not propagated to subclasses

ostatic const CIMFlavor TOINSTANCE
Indicates that the qualifier is propagated to instances. NOTE: This flavor is deprecated and should not be used.

ostatic const CIMFlavor TRANSLATABLE
Indicates that the qualifier is translatable (for internationalization)

ostatic const CIMFlavor DEFAULTS
Indicates the default flavor settings (OVERRIDABLE | TOSUBCLASS)

ostatic const CIMFlavor TOSUBELEMENTS
Indicates that the qualifier is propagated to subclasses. This flavor is equivalent to TOSUBCLASSES. The TOINSTANCE flavor is no longer included here since it is deprecated.


This class has no child classes.
Friends:
class BinaryStreamer
class SCMOClass
class SCMOInstance
class SCMODump
class SCMOXmlWriter

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]