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

XPath::NumberImpl Class Reference

Represents a numeric value (floating point). More...

#include <xpath_valueimpl.h>

Inheritance diagram for XPath::NumberImpl:

XPath::ValueImpl List of all members.

Public Methods

 NumberImpl ()
 NumberImpl (int value)
 NumberImpl (uint value)
 NumberImpl (double value)
 ~NumberImpl ()
double value () const
int intValue () const
virtual StringImpltoString ()
virtual BooleanImpltoBoolean ()

Detailed Description

Represents a numeric value (floating point).

See XPath TR 3.5.


Constructor & Destructor Documentation

XPath::NumberImpl::NumberImpl  
 

XPath::NumberImpl::NumberImpl int    value
 

XPath::NumberImpl::NumberImpl uint    value
 

XPath::NumberImpl::NumberImpl double    value
 

XPath::NumberImpl::~NumberImpl  
 


Member Function Documentation

double XPath::NumberImpl::value   const [inline]
 

int XPath::NumberImpl::intValue  
 

virtual StringImpl* XPath::NumberImpl::toString   [virtual]
 

Converts the Number to a String.

See the string() function in TR 4.2 for details of the conventions used.

Reimplemented from XPath::ValueImpl.

virtual BooleanImpl* XPath::NumberImpl::toBoolean   [virtual]
 

Converts the Number to a Boolean.

See the boolean() function in TR 4.3 for details of the conventions used.

Reimplemented from XPath::ValueImpl.


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