Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

XPath::Value Class Reference

The base-class of all value types used in the XPath data model. More...

#include <xpath_value.h>

Inheritance diagram for XPath::Value:

XPath::Boolean XPath::NodeSet XPath::Number XPath::String List of all members.

Public Types

enum  ValueType { ValueNodeSet, ValueBoolean, ValueNumber, ValueString }

Public Methods

 Value (const Value &res)
virtual ~Value ()
Value & operator= (const Value &other)
unsigned short type () const
bool isString () const
bool isBoolean () const
bool isNumber () const
bool isNodeSet () const
virtual String toString () const
virtual Boolean toBoolean () const
virtual Number toNumber () const

Protected Methods

 Value (ValueImpl *impl)

Protected Attributes

ValueImplimpl

Detailed Description

The base-class of all value types used in the XPath data model.


Member Enumeration Documentation

enum XPath::Value::ValueType
 

Enumeration values:
ValueNodeSet 
ValueBoolean 
ValueNumber 
ValueString 


Constructor & Destructor Documentation

XPath::Value::Value const Value &    res
 

virtual XPath::Value::~Value   [virtual]
 

XPath::Value::Value ValueImpl   impl [protected]
 


Member Function Documentation

Value& XPath::Value::operator= const Value &    other
 

unsigned short XPath::Value::type   const [inline]
 

bool XPath::Value::isString   const [inline]
 

bool XPath::Value::isBoolean   const [inline]
 

bool XPath::Value::isNumber   const [inline]
 

bool XPath::Value::isNodeSet   const [inline]
 

virtual String XPath::Value::toString   [virtual]
 

Reimplemented in XPath::Boolean, and XPath::Number.

virtual Boolean XPath::Value::toBoolean   [virtual]
 

Reimplemented in XPath::Boolean, and XPath::Number.

virtual Number XPath::Value::toNumber   [virtual]
 


Member Data Documentation

ValueImpl* XPath::Value::impl [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Jan 31 23:28:26 2004 for XPath by doxygen1.2.18