Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

s11nlite::save_string_unary_f Struct Reference

A functor which forwards to s11nlite::save(node_type,string). More...

#include <s11nlite.hpp>

Inheritance diagram for s11nlite::save_string_unary_f:

s11n::serialize_unary_serializable_f_tag s11n::serialize_unary_node_f_tag s11n::serialize_f_tag List of all members.

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

Detailed Description

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 469 of file s11nlite.hpp.


Member Typedef Documentation

typedef ::s11nlite::node_type s11nlite::save_string_unary_f::node_type
 

Definition at line 472 of file s11nlite.hpp.


Constructor & Destructor Documentation

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 479 of file s11nlite.hpp.


Member Function Documentation

template<typename SerT>
bool s11nlite::save_string_unary_f::operator() SerT const &  src  )  const [inline]
 

Returns s11nlite:;save( src, this->destination ).

Definition at line 494 of file s11nlite.hpp.

References s11nlite::save().

bool s11nlite::save_string_unary_f::operator() node_type const &  src  )  const [inline]
 

Returns s11nlite:;save( src, this->destination ).

Definition at line 485 of file s11nlite.hpp.

References s11nlite::save().


Member Data Documentation

const std::string s11nlite::save_string_unary_f::destination
 

Definition at line 473 of file s11nlite.hpp.


The documentation for this struct was generated from the following file:
Generated on Sun Dec 25 20:34:58 2005 for libs11n-1.2.3 by  doxygen 1.4.4