top
|
up
|
prev
|
next
XPathNumber Class
Definition at line
51
of
XPathObject.hpp
Constructors
XPathNumber
(
double
value_)
Member Functions
std::unique_ptr<
Node
>
ToDom
()
const override
double
Value
()
const
Member Variables
double
value
Constructor Details
XPathNumber Constructor
sngxml::xpath::XPathNumber::XPathNumber(
double
value_)
Definition at line
107
of
XPathObject.cpp
:
107
:
XPathObject
(
XPathObjectType
::
number
)
,
value
(
value_
)
108
{
109
}
Declaration at line
54
of
XPathObject.hpp
Member Function Details
ToDom Member Function
std::unique_ptr<
Node
> sngxml::xpath::XPathNumber::ToDom()
const override
Definition at line
111
of
XPathObject.cpp
:
112
{
113
std
::
unique_ptr
<
dom
::
Element
>
result
(
new
dom
::
Element
(
U"number"
)
)
;
114
result
->
SetAttribute
(
U"value"
,
ToUtf32
(
std
::
to_string
(
value
)
)
)
;
115
return
std
::
unique_ptr
<
dom
::
Node
>
(
result
.
release
(
)
)
;
116
}
Declaration at line
56
of
XPathObject.hpp
Base class overridden functions:
sngxml::xpath::XPathObject::ToDom
Value Member Function
double
sngxml::xpath::XPathNumber::Value()
const
Definition at line
55
of
XPathObject.hpp
:
55
{
return
value
;
}
Called by:
sngxml::xpath::XPathBooleanFunction::Evaluate
,
sngxml::xpath::XPathFilterExpr::Evaluate
,
sngxml::xpath::XPathLocationStepExpr::Evaluate
,
sngxml::xpath::XPathNumberFunction::Evaluate
,
sngxml::xpath::XPathStringFunction::Evaluate
top
|
up
|
prev
|
next