#include <OW_WQLInstancePropertySource.hpp>
Inheritance diagram for OW_NAMESPACE::WQLInstancePropertySource:
Public Member Functions | |
WQLInstancePropertySource (const CIMInstance &ci_, const CIMOMHandleIFCRef &hdl, const String &ns) | |
~WQLInstancePropertySource () | |
virtual bool | evaluateISA (const String &propertyName, const String &className) const |
Returns true if the property identified by propertyName is an EmbeddedObject instance or class that is either className or is derived from className. | |
virtual bool | getValue (const String &propertyName, WQLOperand &value) const |
Returns the value whose property has the given name. | |
Private Member Functions | |
bool | evaluateISAAux (const CIMInstance &ci, StringArray propNames, const String &className) const |
bool | classIsDerivedFrom (const String &cls, const String &className) const |
Static Private Member Functions | |
static bool | getValueAux (const CIMInstance &ci, const StringArray &propNames, WQLOperand &value) |
Private Attributes | |
CIMInstance | ci |
CIMOMHandleIFCRef | m_hdl |
String | m_ns |
Definition at line 46 of file OW_WQLInstancePropertySource.hpp.
|
Definition at line 49 of file OW_WQLInstancePropertySource.hpp. |
|
Definition at line 47 of file OW_WQLInstancePropertySource.cpp. |
|
Definition at line 109 of file OW_WQLInstancePropertySource.cpp. References className, OW_NAMESPACE::CIMClass::getSuperClass(), m_hdl, m_ns, and OW_NAMESPACE::CIMName::toString(). Referenced by evaluateISAAux(). |
|
Returns true if the property identified by propertyName is an EmbeddedObject instance or class that is either className or is derived from className.
Implements OW_NAMESPACE::WQLPropertySource. Definition at line 51 of file OW_WQLInstancePropertySource.cpp. References OW_NAMESPACE::Array< T >::empty(), and OW_NAMESPACE::String::tokenize(). |
|
Definition at line 79 of file OW_WQLInstancePropertySource.cpp. References ci, classIsDerivedFrom(), className, OW_NAMESPACE::Array< T >::empty(), and OW_NAMESPACE::CIMInstance::getClassName(). |
|
Returns the value whose property has the given name. The output parameter value is populated with the value of that parameter. Note that only integer, double, and string types are supported (see the WQLOperand class). The implementer of this method must perform appropriate conversions to the appropriate type.
Implements OW_NAMESPACE::WQLPropertySource. Definition at line 65 of file OW_WQLInstancePropertySource.cpp. References OW_NAMESPACE::Array< T >::empty(), and OW_NAMESPACE::String::tokenize(). |
|
Definition at line 125 of file OW_WQLInstancePropertySource.cpp. References OW_NAMESPACE::Array< T >::empty(). |
|
Definition at line 67 of file OW_WQLInstancePropertySource.hpp. Referenced by evaluateISAAux(). |
|
Definition at line 74 of file OW_WQLInstancePropertySource.hpp. Referenced by classIsDerivedFrom(). |
|
Definition at line 80 of file OW_WQLInstancePropertySource.hpp. Referenced by classIsDerivedFrom(). |