version 1.23, 2002/07/26 20:01:19
|
version 1.24, 2002/07/30 16:14:53
|
|
|
#define Pegasus_Parameter_h | #define Pegasus_Parameter_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/CIMName.h> |
#include <Pegasus/Common/CIMQualifier.h> | #include <Pegasus/Common/CIMQualifier.h> |
#include <Pegasus/Common/CIMType.h> | #include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
|
| |
// Throws IllegalName if name argument not legal CIM identifier. | // Throws IllegalName if name argument not legal CIM identifier. |
CIMParameter( | CIMParameter( |
const String& name, |
const CIMName& name, |
CIMType type, | CIMType type, |
Boolean isArray = false, | Boolean isArray = false, |
Uint32 arraySize = 0, | Uint32 arraySize = 0, |
const String& referenceClassName = String::EMPTY); |
const CIMName& referenceClassName = CIMName()); |
| |
~CIMParameter(); | ~CIMParameter(); |
| |
CIMParameter& operator=(const CIMParameter& x); | CIMParameter& operator=(const CIMParameter& x); |
| |
const String& getName() const ; |
const CIMName& getName() const ; |
| |
// Throws IllegalName if name argument not legal CIM identifier. |
void setName(const CIMName& name); |
void setName(const String& name); |
|
| |
Boolean isArray() const; | Boolean isArray() const; |
| |
Uint32 getArraySize() const; | Uint32 getArraySize() const; |
| |
const String& getReferenceClassName() const ; |
const CIMName& getReferenceClassName() const ; |
| |
CIMType getType() const ; | CIMType getType() const ; |
| |
|
|
// Throws AlreadyExists. | // Throws AlreadyExists. |
CIMParameter& addQualifier(const CIMQualifier& x); | CIMParameter& addQualifier(const CIMQualifier& x); |
| |
Uint32 findQualifier(const String& name) const; |
Uint32 findQualifier(const CIMName& name) const; |
| |
CIMQualifier getQualifier(Uint32 pos); | CIMQualifier getQualifier(Uint32 pos); |
| |
|
|
| |
// Throws IllegalName if name argument not legal CIM identifier. | // Throws IllegalName if name argument not legal CIM identifier. |
CIMConstParameter( | CIMConstParameter( |
const String& name, |
const CIMName& name, |
CIMType type, | CIMType type, |
Boolean isArray = false, | Boolean isArray = false, |
Uint32 arraySize = 0, | Uint32 arraySize = 0, |
const String& referenceClassName = String::EMPTY); |
const CIMName& referenceClassName = CIMName()); |
| |
~CIMConstParameter(); | ~CIMConstParameter(); |
| |
|
|
| |
CIMConstParameter& operator=(const CIMParameter& x); | CIMConstParameter& operator=(const CIMParameter& x); |
| |
const String& getName() const; |
const CIMName& getName() const; |
| |
Boolean isArray() const; | Boolean isArray() const; |
| |
Uint32 getArraySize() const; | Uint32 getArraySize() const; |
| |
const String& getReferenceClassName() const; |
const CIMName& getReferenceClassName() const; |
| |
CIMType getType() const; | CIMType getType() const; |
| |
Uint32 findQualifier(const String& name) const; |
Uint32 findQualifier(const CIMName& name) const; |
| |
CIMConstQualifier getQualifier(Uint32 pos) const; | CIMConstQualifier getQualifier(Uint32 pos) const; |
| |