#include <OWBI1_CIMProperty.hpp>
Inheritance diagram for OWBI1::CIMProperty:
Public Types | |
typedef detail::CIMPropertyRepRef CIMProperty::* | safe_bool |
Public Member Functions | |
CIMProperty () | |
Create a new CIMProperty object. | |
CIMProperty (CIMNULL_t) | |
Create a NULL CIMProperty object. | |
CIMProperty (const CIMName &name) | |
Create an CIMProperty object with a given name. | |
CIMProperty (const char *name) | |
Create an CIMProperty object with a given name. | |
CIMProperty (const CIMName &name, const CIMValue &value) | |
Create an CIMProperty object with a name and a value. | |
CIMProperty (const CIMName &name, const CIMDataType &dt) | |
Create an CIMProperty object with a name and a type. | |
CIMProperty (const CIMProperty &arg) | |
Copy constructor. | |
CIMProperty (const detail::CIMPropertyRepRef &rep) | |
~CIMProperty () | |
Destroy this CIMProperty object. | |
virtual void | setNull () |
Set this to a null object. | |
CIMProperty & | operator= (const CIMProperty &arg) |
Assignment operator. | |
operator safe_bool () const | |
bool | operator! () const |
CIMQualifierArray | getQualifiers () const |
Get the qualifiers for this property. | |
CIMProperty & | setQualifiers (const CIMQualifierArray &quals) |
Set the qualifiers for this property object. | |
CIMName | getOriginClass () const |
Get the origin class for this property. | |
CIMProperty & | setOriginClass (const CIMName &originCls) |
Set the origin class for this property. | |
CIMProperty & | setValue (const CIMValue &val) |
Set the value of this property. | |
CIMValue | getValue () const |
CIMValue | getValueT () const |
CIMProperty & | setDataType (const CIMDataType &type) |
Set the data type for this property. | |
CIMProperty & | setDataType (const CIMDataType::Type &type) |
Set the data type for this property. | |
CIMDataType | getDataType () const |
Int32 | getSize () const |
CIMProperty & | setDataSize (Int32 size) |
Set the size of the data for this property. | |
CIMProperty & | setOverridingProperty (const CIMName &opname) |
Set the overriding property name. | |
CIMName | getOverridingProperty () const |
bool | isReference () const |
CIMQualifier | getQualifier (const CIMName &name) const |
Get the qualifier associated with the given name from this property. | |
CIMQualifier | getQualifierT (const CIMName &name) const |
Get the qualifier associated with the given name from this property. | |
CIMProperty & | setQualifier (const CIMQualifier &qual) |
Set the value of a qaulifier on this property. | |
bool | addQualifier (const CIMQualifier &qual) |
Add a qualifier to this property. | |
bool | removeQualifier (const CIMName &name) |
Remove a qualifier from this property. | |
bool | isKey () const |
CIMProperty & | setPropagated (bool propagated=true) |
Set the propagated flag on this property. | |
bool | getPropagated () const |
Get the propagated flag for this property. | |
virtual CIMName | getName () const |
virtual void | setName (const CIMName &name) |
Set the name of this CIMProperty object. | |
virtual void | writeObject (std::ostream &ostrm) const |
Write this CIMProperty to the given output stream. | |
virtual void | writeObject (std::ostream &ostrm, WBEMFlags::EIncludeQualifiersFlag includeQualifiers) const |
Write this CIMProperty, optionally omitting all qualifiers except the key qualifier. | |
virtual void | readObject (std::istream &istrm) |
Read this CIIMProperty object from the given input stream. | |
virtual String | toString () const |
virtual String | toMOF () const |
bool | hasTrueQualifier (const CIMName &name) const |
Test if this property has a qualifier that is a boolean type with a value of true. | |
detail::CIMPropertyRepRef | getRep () const |
Static Public Attributes | |
static const char *const | NAME_PROPERTY = "Name" |
Private Attributes | |
detail::CIMPropertyRepRef | m_rep |
Definition at line 54 of file OWBI1_CIMProperty.hpp.
|
Definition at line 111 of file OWBI1_CIMProperty.hpp. |
|
Create a new CIMProperty object.
Definition at line 63 of file OWBI1_CIMProperty.cpp. |
|
Create a NULL CIMProperty object.
Definition at line 68 of file OWBI1_CIMProperty.cpp. |
|
Create an CIMProperty object with a given name.
Definition at line 73 of file OWBI1_CIMProperty.cpp. |
|
Create an CIMProperty object with a given name.
Definition at line 78 of file OWBI1_CIMProperty.cpp. |
|
Create an CIMProperty object with a name and a value.
Definition at line 83 of file OWBI1_CIMProperty.cpp. |
|
Create an CIMProperty object with a name and a type.
Definition at line 88 of file OWBI1_CIMProperty.cpp. |
|
Copy constructor.
Definition at line 93 of file OWBI1_CIMProperty.cpp. |
|
Definition at line 99 of file OWBI1_CIMProperty.cpp. |
|
Destroy this CIMProperty object.
Definition at line 105 of file OWBI1_CIMProperty.cpp. |
|
Add a qualifier to this property.
Definition at line 248 of file OWBI1_CIMProperty.cpp. References OWBI1::CIMQualifier::getRep(), and m_rep. |
|
Definition at line 186 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Implements OWBI1::CIMElement. Definition at line 287 of file OWBI1_CIMProperty.cpp. References m_rep. Referenced by getValueT(), OWBI1::CIMInstance::setProperty(), OWBI1::CIMClass::setProperty(), and OWBI1::CIMInstance::updatePropertyValue(). |
|
Get the origin class for this property.
Definition at line 136 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Definition at line 212 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Get the propagated flag for this property.
Definition at line 281 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Get the qualifier associated with the given name from this property.
Definition at line 224 of file OWBI1_CIMProperty.cpp. Referenced by getQualifierT(). |
|
Get the qualifiers for this property.
Definition at line 123 of file OWBI1_CIMProperty.cpp. References m_rep. Referenced by OWBI1::CIMInstance::createModifiedInstance(). |
|
Get the qualifier associated with the given name from this property.
Definition at line 230 of file OWBI1_CIMProperty.cpp. References OWBI1::String::c_str(), getQualifier(), name, OWBI1_THROW, and OWBI1::String::toString(). |
|
Referenced by OWBI1::operator<(). |
|
Definition at line 192 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Definition at line 156 of file OWBI1_CIMProperty.cpp. References m_rep. Referenced by OWBI1::CIMInstance::getPropertyValue(), OWBI1::CIMInstance::propertyHasValue(), and OWBI1::CIMInstance::updatePropertyValue(). |
|
Definition at line 162 of file OWBI1_CIMProperty.cpp. References getName(), m_rep, and OWBI1_THROW. |
|
Test if this property has a qualifier that is a boolean type with a value of true.
Definition at line 337 of file OWBI1_CIMProperty.cpp. |
|
Definition at line 268 of file OWBI1_CIMProperty.cpp. References m_rep. Referenced by OWBI1::CIMInstance::setProperty(), and OWBI1::CIMInstance::updatePropertyValue(). |
|
Definition at line 218 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Definition at line 343 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Definition at line 350 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Assignment operator.
Definition at line 116 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Read this CIIMProperty object from the given input stream.
Implements OWBI1::SerializableIFC. |
|
Remove a qualifier from this property.
Definition at line 262 of file OWBI1_CIMProperty.cpp. |
|
Set the size of the data for this property.
Definition at line 198 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Set the data type for this property.
Definition at line 180 of file OWBI1_CIMProperty.cpp. References setDataType(). |
|
Set the data type for this property.
Definition at line 173 of file OWBI1_CIMProperty.cpp. Referenced by setDataType(). |
|
Set the name of this CIMProperty object.
Implements OWBI1::CIMElement. Definition at line 293 of file OWBI1_CIMProperty.cpp. |
|
Set this to a null object.
Implements OWBI1::CIMBase. Definition at line 110 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Set the origin class for this property.
Definition at line 142 of file OWBI1_CIMProperty.cpp. References OWBI1::CIMName::getRep(), and m_rep. |
|
Set the overriding property name.
Definition at line 205 of file OWBI1_CIMProperty.cpp. References OWBI1::CIMName::getRep(), and m_rep. |
|
Set the propagated flag on this property.
Definition at line 274 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Set the value of a qaulifier on this property.
Definition at line 241 of file OWBI1_CIMProperty.cpp. References OWBI1::CIMQualifier::getRep(), and m_rep. |
|
Set the qualifiers for this property object.
Definition at line 129 of file OWBI1_CIMProperty.cpp. References m_rep. Referenced by OWBI1::CIMInstance::createModifiedInstance(). |
|
Set the value of this property.
Definition at line 149 of file OWBI1_CIMProperty.cpp. |
|
Implements OWBI1::CIMBase. Definition at line 323 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Implements OWBI1::CIMElement. Definition at line 317 of file OWBI1_CIMProperty.cpp. References m_rep. |
|
Write this CIMProperty, optionally omitting all qualifiers except the key qualifier.
|
|
Write this CIMProperty to the given output stream.
Implements OWBI1::SerializableIFC. |
|
Definition at line 297 of file OWBI1_CIMProperty.hpp. Referenced by addQualifier(), getDataType(), getName(), getOriginClass(), getOverridingProperty(), getPropagated(), getQualifier(), getQualifiers(), getSize(), getValue(), getValueT(), hasTrueQualifier(), isKey(), isReference(), operator safe_bool(), operator!(), operator=(), removeQualifier(), setDataSize(), setDataType(), setName(), setNull(), setOriginClass(), setOverridingProperty(), setPropagated(), setQualifier(), setQualifiers(), setValue(), toMOF(), and toString(). |
|
Definition at line 57 of file OWBI1_CIMProperty.hpp. |