version 1.8, 2001/12/13 14:53:49
|
version 1.9, 2001/12/24 02:23:02
|
|
|
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
/* |
|
|
|
CIMFlavor.h -- This file declares qualifier flavor constants. |
|
|
|
*/ |
|
|
|
#ifndef Pegasus_Flavor_h | #ifndef Pegasus_Flavor_h |
#define Pegasus_Flavor_h | #define Pegasus_Flavor_h |
| |
|
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
/** |
|
CIMQualifier flavor constants |
/** This structure defines flavor constants borne by CIMQualifier objects. |
*/ | */ |
struct PEGASUS_COMMON_LINKAGE CIMFlavor | struct PEGASUS_COMMON_LINKAGE CIMFlavor |
{ | { |
|
/** Indicates that the qualifier has no flavors. |
|
*/ |
static const Uint32 NONE; | static const Uint32 NONE; |
|
|
|
/** Indicates that the qualifier may be overriden. |
|
*/ |
static const Uint32 OVERRIDABLE; | static const Uint32 OVERRIDABLE; |
|
|
|
/** Indicates that the qualifier is propagated to the qualifier in the |
|
subclass with the same name. |
|
*/ |
static const Uint32 TOSUBCLASS; | static const Uint32 TOSUBCLASS; |
|
|
|
/** Indicates that the qualifier is propagated to the qualifier in the |
|
instance with the same name. |
|
*/ |
static const Uint32 TOINSTANCE; | static const Uint32 TOINSTANCE; |
static const Uint32 TRANSLATABLE; |
|
| |
// These are the defaults according to the CIM DTD: |
/** Indicates whether qualifier is translatable (for internationalization). |
// OVERRIDABLE, TOSUBCLASS |
*/ |
|
static const Uint32 TRANSLATABLE; |
| |
|
/** Defaults according to the CIM DTD (OVERRIDABLE | TOSUBCLASS). |
|
*/ |
static const Uint32 DEFAULTS; | static const Uint32 DEFAULTS; |
}; | }; |
| |
|
|
format and puts them into the variable out. | format and puts them into the variable out. |
@param out XML output stream into which the xml is places. | @param out XML output stream into which the xml is places. |
@param flavor variable containing the flavor definition | @param flavor variable containing the flavor definition |
|
|
<pre> | <pre> |
// Get flavorkeywords and test for any returned keywords | // Get flavorkeywords and test for any returned keywords |
Uint32 flavor = CIMFlavor::DEFAULTS, | Uint32 flavor = CIMFlavor::DEFAULTS, |