ClanLib
2.3.7
|
XPath result object. More...
#include <xpath_object.h>
Public Member Functions | |
Constuction | |
CL_XPathObject () | |
CL_XPathObject (bool value) | |
CL_XPathObject (double value) | |
CL_XPathObject (size_t value) | |
CL_XPathObject (const CL_StringRef &value) | |
CL_XPathObject (const std::vector< CL_DomNode > &value) | |
Operations | |
void | set_null () |
Set null. More... | |
void | set_node_set (const std::vector< CL_DomNode > &node_set) |
Set node set. More... | |
void | set_boolean (bool value) |
Set boolean. More... | |
void | set_number (double value) |
Set number. More... | |
void | set_string (const CL_StringRef &str) |
Set string. More... | |
Attributes | |
enum | Type { type_null, type_node_set, type_boolean, type_number, type_string } |
Type | get_type () const |
Get Type. More... | |
bool | is_null () const |
Is Null. More... | |
std::vector< CL_DomNode > | get_node_set () const |
bool | get_boolean () const |
Get Boolean. More... | |
double | get_number () const |
Get Number. More... | |
CL_StringRef | get_string () const |
Get String. More... | |
XPath result object.
enum CL_XPathObject::Type |
CL_XPathObject::CL_XPathObject | ( | ) |
CL_XPathObject::CL_XPathObject | ( | bool | value) |
CL_XPathObject::CL_XPathObject | ( | double | value) |
CL_XPathObject::CL_XPathObject | ( | size_t | value) |
CL_XPathObject::CL_XPathObject | ( | const CL_StringRef & | value) |
CL_XPathObject::CL_XPathObject | ( | const std::vector< CL_DomNode > & | value) |
bool CL_XPathObject::get_boolean | ( | ) | const |
Get Boolean.
std::vector<CL_DomNode> CL_XPathObject::get_node_set | ( | ) | const |
double CL_XPathObject::get_number | ( | ) | const |
Get Number.
CL_StringRef CL_XPathObject::get_string | ( | ) | const |
Get String.
Type CL_XPathObject::get_type | ( | ) | const |
Get Type.
bool CL_XPathObject::is_null | ( | ) | const |
Is Null.
void CL_XPathObject::set_boolean | ( | bool | value) |
Set boolean.
value | = bool |
void CL_XPathObject::set_node_set | ( | const std::vector< CL_DomNode > & | node_set) |
Set node set.
vector | = Dom Node |
void CL_XPathObject::set_null | ( | ) |
Set null.
void CL_XPathObject::set_number | ( | double | value) |
Set number.
value | = value |
void CL_XPathObject::set_string | ( | const CL_StringRef & | str) |
Set string.
str | = String Ref |