webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | List of all members
WebCore::XPath::Value Class Reference

#include <XPathValue.h>

Public Types

enum  Type {
  NodeSetValue, BooleanValue, NumberValue, StringValue,
  NodeSetValue, BooleanValue, NumberValue, StringValue
}
 
enum  Type {
  NodeSetValue, BooleanValue, NumberValue, StringValue,
  NodeSetValue, BooleanValue, NumberValue, StringValue
}
 

Public Member Functions

 Value (bool value)
 
 Value (unsigned value)
 
 Value (double value)
 
 Value (const String &value)
 
 Value (const char *value)
 
 Value (NodeSet &&value)
 
 Value (Node *value)
 
 Value (RefPtr< Node > &&value)
 
Type type () const
 
bool isNodeSet () const
 
bool isBoolean () const
 
bool isNumber () const
 
bool isString () const
 
const NodeSet & toNodeSet () const
 
bool toBoolean () const
 
double toNumber () const
 
String toString () const
 
NodeSet & modifiableNodeSet ()
 
 Value (bool value)
 
 Value (unsigned value)
 
 Value (double value)
 
 Value (const String &value)
 
 Value (const char *value)
 
 Value (NodeSet &&value)
 
 Value (Node *value)
 
 Value (RefPtr< Node > &&value)
 
Type type () const
 
bool isNodeSet () const
 
bool isBoolean () const
 
bool isNumber () const
 
bool isString () const
 
const NodeSet & toNodeSet () const
 
bool toBoolean () const
 
double toNumber () const
 
String toString () const
 
NodeSet & modifiableNodeSet ()
 

Member Enumeration Documentation

◆ Type [1/2]

enum WebCore::XPath::Value::Type
Enumerator
NodeSetValue 
BooleanValue 
NumberValue 
StringValue 
NodeSetValue 
BooleanValue 
NumberValue 
StringValue 

◆ Type [2/2]

enum WebCore::XPath::Value::Type
Enumerator
NodeSetValue 
BooleanValue 
NumberValue 
StringValue 
NodeSetValue 
BooleanValue 
NumberValue 
StringValue 

Constructor & Destructor Documentation

◆ Value() [1/16]

WebCore::XPath::Value::Value ( bool  value)
inline

◆ Value() [2/16]

WebCore::XPath::Value::Value ( unsigned  value)
inline

◆ Value() [3/16]

WebCore::XPath::Value::Value ( double  value)
inline

◆ Value() [4/16]

WebCore::XPath::Value::Value ( const String &  value)
inline

◆ Value() [5/16]

WebCore::XPath::Value::Value ( const char *  value)
inline

◆ Value() [6/16]

WebCore::XPath::Value::Value ( NodeSet &&  value)
inlineexplicit

◆ Value() [7/16]

WebCore::XPath::Value::Value ( Node *  value)
inlineexplicit

◆ Value() [8/16]

WebCore::XPath::Value::Value ( RefPtr< Node > &&  value)
inlineexplicit

◆ Value() [9/16]

WebCore::XPath::Value::Value ( bool  value)
inline

◆ Value() [10/16]

WebCore::XPath::Value::Value ( unsigned  value)
inline

◆ Value() [11/16]

WebCore::XPath::Value::Value ( double  value)
inline

◆ Value() [12/16]

WebCore::XPath::Value::Value ( const String &  value)
inline

◆ Value() [13/16]

WebCore::XPath::Value::Value ( const char *  value)
inline

◆ Value() [14/16]

WebCore::XPath::Value::Value ( NodeSet &&  value)
inlineexplicit

◆ Value() [15/16]

WebCore::XPath::Value::Value ( Node *  value)
inlineexplicit

◆ Value() [16/16]

WebCore::XPath::Value::Value ( RefPtr< Node > &&  value)
inlineexplicit

Member Function Documentation

◆ isBoolean() [1/2]

bool WebCore::XPath::Value::isBoolean ( ) const
inline

◆ isBoolean() [2/2]

bool WebCore::XPath::Value::isBoolean ( ) const
inline

◆ isNodeSet() [1/2]

bool WebCore::XPath::Value::isNodeSet ( ) const
inline

◆ isNodeSet() [2/2]

bool WebCore::XPath::Value::isNodeSet ( ) const
inline

◆ isNumber() [1/2]

bool WebCore::XPath::Value::isNumber ( ) const
inline

◆ isNumber() [2/2]

bool WebCore::XPath::Value::isNumber ( ) const
inline

◆ isString() [1/2]

bool WebCore::XPath::Value::isString ( ) const
inline

◆ isString() [2/2]

bool WebCore::XPath::Value::isString ( ) const
inline

◆ modifiableNodeSet() [1/2]

NodeSet & WebCore::XPath::Value::modifiableNodeSet ( )

◆ modifiableNodeSet() [2/2]

NodeSet& WebCore::XPath::Value::modifiableNodeSet ( )

◆ toBoolean() [1/2]

bool WebCore::XPath::Value::toBoolean ( ) const

◆ toBoolean() [2/2]

bool WebCore::XPath::Value::toBoolean ( ) const

◆ toNodeSet() [1/2]

const NodeSet& WebCore::XPath::Value::toNodeSet ( ) const

◆ toNodeSet() [2/2]

const NodeSet & WebCore::XPath::Value::toNodeSet ( ) const

◆ toNumber() [1/2]

double WebCore::XPath::Value::toNumber ( ) const

◆ toNumber() [2/2]

double WebCore::XPath::Value::toNumber ( ) const

◆ toString() [1/2]

String WebCore::XPath::Value::toString ( ) const

◆ toString() [2/2]

String WebCore::XPath::Value::toString ( ) const

◆ type() [1/2]

Type WebCore::XPath::Value::type ( ) const
inline

◆ type() [2/2]

Type WebCore::XPath::Value::type ( ) const
inline

The documentation for this class was generated from the following files: