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

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


Member Typedef Documentation

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

Definition at line 739 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 746 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 754 of file s11nlite.hpp.

References s11n::io::load_node().


Member Data Documentation

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

Definition at line 740 of file s11nlite.hpp.


The documentation for this struct was generated from the following file:
Generated on Sat Dec 10 13:43:25 2005 for libs11n-1.2.1 by  doxygen 1.4.4