OWBI1::WQLPropertySource Class Reference

This class must be implemented to provide a source of properties for the WQLSelectStatement::evaluateWhereClause() method which calls methods of this class to obtain real values for property names used in the where clause. More...

#include <OWBI1_WQLPropertySource.hpp>

List of all members.

Public Member Functions

virtual ~WQLPropertySource ()
 Virtual destructor.
virtual bool getValue (const String &propertyName, WQLOperand &value) const =0
 Returns the value whose property has the given name.
virtual bool evaluateISA (const String &propertyName, const String &className) const =0
 Returns true if the property identified by propertyName is an EmbeddedObject instance or class that is either className or is derived from className.


Detailed Description

This class must be implemented to provide a source of properties for the WQLSelectStatement::evaluateWhereClause() method which calls methods of this class to obtain real values for property names used in the where clause.

Definition at line 44 of file OWBI1_WQLPropertySource.hpp.


Constructor & Destructor Documentation

OWBI1::WQLPropertySource::~WQLPropertySource  )  [virtual]
 

Virtual destructor.

Definition at line 42 of file OWBI1_WQLPropertySource.cpp.


Member Function Documentation

virtual bool OWBI1::WQLPropertySource::evaluateISA const String propertyName,
const String className
const [pure virtual]
 

Returns true if the property identified by propertyName is an EmbeddedObject instance or class that is either className or is derived from className.

Parameters:
propertyName name of property to be gotten. This can be of the form: name(.subname)* examples: propertyName className.propertyName propertyName.embeddedPropertyName1 propertyName.embeddedPropertyName1.embeddedPropertyName2 className.propertyName.embeddedPropertyName1
className The name of the class against which the property is to be checked.
Returns:
true or false

Referenced by OWBI1::WQLCompile::evaluate().

virtual bool OWBI1::WQLPropertySource::getValue const String propertyName,
WQLOperand value
const [pure virtual]
 

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.

Parameters:
propertyName name of property to be gotten. This can be of the form: name(.subname)* examples: propertyName className.propertyName propertyName.embeddedPropertyName1 propertyName.embeddedPropertyName1.embeddedPropertyName2 className.propertyName.embeddedPropertyName1
value holds the value of the property upon return.
Returns:
true if such a property was found and false otherwise.

Referenced by OWBI1::_ResolveProperty(), and OWBI1::WQLCompile::_ResolveProperty().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:18:46 2006 for openwbem by  doxygen 1.4.6