A functor which forwards to s11nlite::save(node_type,string). More...
#include <s11nlite.hpp>
Public Types | |
typedef ::s11nlite::node_type | node_type |
Public Member Functions | |
save_string_unary_f (std::string const &s) | |
Specifies that operator() should send output to the given resource name (normally, but not always, a filename). | |
bool | operator() (node_type const &src) const |
Returns s11nlite:;save( src, this->destination ). | |
template<typename SerT > | |
bool | operator() (SerT const &src) const |
Returns s11nlite:;save( src, this->destination ). | |
Public Attributes | |
const std::string | destination |
A functor which forwards to s11nlite::save(node_type,string).
See save_stream_unary_f for notes about the parent classes. Those same notes apply here.
Added in version 1.1.3.
Definition at line 464 of file s11nlite.hpp.
Definition at line 467 of file s11nlite.hpp.
s11nlite::save_string_unary_f::save_string_unary_f | ( | std::string const & | s | ) | [inline, explicit] |
Specifies that operator() should send output to the given resource name (normally, but not always, a filename).
Definition at line 474 of file s11nlite.hpp.
bool s11nlite::save_string_unary_f::operator() | ( | SerT const & | src | ) | const [inline] |
Returns s11nlite:;save( src, this->destination ).
Definition at line 489 of file s11nlite.hpp.
References destination, and s11nlite::save().
bool s11nlite::save_string_unary_f::operator() | ( | node_type const & | src | ) | const [inline] |
Returns s11nlite:;save( src, this->destination ).
Definition at line 480 of file s11nlite.hpp.
References destination, and s11nlite::save().
const std::string s11nlite::save_string_unary_f::destination |
Definition at line 468 of file s11nlite.hpp.
Referenced by operator()().