s11nlite::load_node_string_nullary_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_string_nullary_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).

Prior to v1.3.1 this function was called load_node_nullary_string_f. In 1.3.1 it was renamed for consistency with its cousins.

Definition at line 714 of file s11nlite.hpp.


Member Typedef Documentation

typedef ::s11nlite::node_type s11nlite::load_node_string_nullary_f::node_type

Definition at line 716 of file s11nlite.hpp.


Constructor & Destructor Documentation

s11nlite::load_node_string_nullary_f::load_node_string_nullary_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 723 of file s11nlite.hpp.


Member Function Documentation

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

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

Caller owns the returned object, which may be 0.

Definition at line 731 of file s11nlite.hpp.

References s11nlite::load_node().


Member Data Documentation

const std::string s11nlite::load_node_string_nullary_f::resource

Definition at line 717 of file s11nlite.hpp.


The documentation for this struct was generated from the following file:
Generated on Wed Jun 4 21:48:08 2008 for libs11n by  doxygen 1.5.3