version 1.31, 2002/07/26 20:01:19
|
version 1.32, 2002/07/30 16:14:53
|
|
|
#define Pegasus_Qualifier_h | #define Pegasus_Qualifier_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/CIMName.h> |
#include <Pegasus/Common/CIMFlavor.h> | #include <Pegasus/Common/CIMFlavor.h> |
#include <Pegasus/Common/CIMType.h> | #include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/CIMValue.h> | #include <Pegasus/Common/CIMValue.h> |
#include <Pegasus/Common/Linkage.h> |
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
| |
/** Constructor - Instantiates a CIM qualifier object with the parameters | /** Constructor - Instantiates a CIM qualifier object with the parameters |
defined on input. | defined on input. |
@param String representing CIMName for the new qualifier |
@param CIMName representing CIMName for the new qualifier |
@param value | @param value |
@param flavor - Flavor defined for this qualifier definition. Default | @param flavor - Flavor defined for this qualifier definition. Default |
for this parameter is CIMFlavor::NONE. | for this parameter is CIMFlavor::NONE. |
|
|
identifier. | identifier. |
*/ | */ |
CIMQualifier( | CIMQualifier( |
const String& name, |
const CIMName& name, |
const CIMValue& value, | const CIMValue& value, |
Uint32 flavor = CIMFlavor::NONE, | Uint32 flavor = CIMFlavor::NONE, |
Boolean propagated = false); | Boolean propagated = false); |
|
|
CIMQualifier& operator=(const CIMQualifier& x); | CIMQualifier& operator=(const CIMQualifier& x); |
| |
/** getName - Returns the name field from the qualifier | /** getName - Returns the name field from the qualifier |
@return String containing the qualifier name. |
@return CIMName containing the qualifier name. |
*/ | */ |
const String& getName() const; |
const CIMName& getName() const; |
| |
/** setName - Sets the qualifier name field in the qualifier object. | /** setName - Sets the qualifier name field in the qualifier object. |
@param name - String containing the name for the qualifier |
@param name - CIMName containing the name for the qualifier |
@exception Throws IllegalName if name argument not legal CIM identifier. | @exception Throws IllegalName if name argument not legal CIM identifier. |
*/ | */ |
void setName(const String& name); |
void setName(const CIMName& name); |
| |
/** getType - Gets the type field from the qualifier object. | /** getType - Gets the type field from the qualifier object. |
@return CIMType containing the type for this qualifier /Ref{CIMType}. | @return CIMType containing the type for this qualifier /Ref{CIMType}. |
|
|
// Throws IllegalName if name argument not legal CIM identifier. | // Throws IllegalName if name argument not legal CIM identifier. |
| |
CIMConstQualifier( | CIMConstQualifier( |
const String& name, |
const CIMName& name, |
const CIMValue& value, | const CIMValue& value, |
Uint32 flavor = CIMFlavor::NONE, | Uint32 flavor = CIMFlavor::NONE, |
Boolean propagated = false); | Boolean propagated = false); |
|
|
| |
CIMConstQualifier& operator=(const CIMQualifier& x); | CIMConstQualifier& operator=(const CIMQualifier& x); |
| |
const String& getName() const; |
const CIMName& getName() const; |
| |
CIMType getType() const; | CIMType getType() const; |
| |