1 #ifndef JOBOPTIONSVC_NODE_H_ 2 #define JOBOPTIONSVC_NODE_H_ 15 #include <boost/fusion/include/adapt_struct.hpp> 16 #include <boost/fusion/include/unused.hpp> 17 #include <boost/range/iterator_range.hpp> 78 template <
typename A,
typename B = boost::fusion::unused_type,
typename C = boost::fusion::unused_type,
79 typename D = boost::fusion::unused_type>
92 node.
value = boost::copy_range<std::string>(
range );
113 #endif // JOBOPTIONSVC_NODE_H_
void operator()(Node &node, Node::NodeType type) const
void operator()(Node &node, Node child) const
void operator()(Node &node, bool val) const
NamedRange_< CONTAINER > range(const CONTAINER &cnt, std::string name)
simple function to create the named range from arbitrary container
std::string ToString(int indent=0) const
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator
void operator()(Node &node, const Iterator &iter) const
boost::spirit::classic::file_position_base< std::string > IteratorPosition
Helper functions to set/get the application return code.
void operator()(Node &node, std::string val) const
std::vector< Node > children
void operator()(Node &node, boost::iterator_range< Iterator > range) const