s11nlite::load_node_nullary_string_f Struct Reference

A nullary functor to call s11nlite::load_node(string). More...

#include <s11nlite.hpp>

List of all members.

Public Types

typedef
::s11nlite::node_type 
node_type

Public Member Functions

 load_node_nullary_string_f (std::string const &s)
 Specifies that operator() should fetch input from the given resource name (normally, but not always, a filename).
node_typeoperator() () const
 Returns s11nlite::load_node( this->resource ).

Public Attributes

const std::string resource


Detailed Description

A nullary functor to call s11nlite::load_node(string).

Definition at line 711 of file s11nlite.hpp.


Member Typedef Documentation

typedef ::s11nlite::node_type s11nlite::load_node_nullary_string_f::node_type

Definition at line 713 of file s11nlite.hpp.


Constructor & Destructor Documentation

s11nlite::load_node_nullary_string_f::load_node_nullary_string_f ( std::string const &  s  )  [inline, explicit]

Specifies that operator() should fetch input from the given resource name (normally, but not always, a filename).

Definition at line 720 of file s11nlite.hpp.


Member Function Documentation

node_type* s11nlite::load_node_nullary_string_f::operator() (  )  const [inline]

Returns s11nlite::load_node( this->resource ).

Caller owns the returned object, which may be 0.

Definition at line 728 of file s11nlite.hpp.

References s11nlite::load_node().


Member Data Documentation

const std::string s11nlite::load_node_nullary_string_f::resource

Definition at line 714 of file s11nlite.hpp.


The documentation for this struct was generated from the following file:
Generated on Sun Apr 27 13:16:05 2008 for libs11n by  doxygen 1.5.3