Gaudi Framework, version v23r8

Home   Generated: Fri May 31 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
Gaudi::Parsers::NodeOperations Class Reference

#include <Node.h>

Classes

struct  result
 
struct  value
 

Public Member Functions

void operator() (Node &node, Node::NodeType type) const
 
void operator() (Node &node, Node &child) const
 
void operator() (Node &node, const std::string &val) const
 
void operator() (Node &node, boost::iterator_range< Iterator > range) const
 
void operator() (Node &node, bool val) const
 
void operator() (Node &node, const Iterator &iter) const
 

Detailed Description

Definition at line 43 of file Node.h.

Member Function Documentation

void Gaudi::Parsers::NodeOperations::operator() ( Node node,
Node::NodeType  type 
) const
inline

Definition at line 53 of file Node.h.

{
node.type = type;
}
void Gaudi::Parsers::NodeOperations::operator() ( Node node,
Node child 
) const
inline

Definition at line 57 of file Node.h.

{
node.children.push_back(child);
}
void Gaudi::Parsers::NodeOperations::operator() ( Node node,
const std::string val 
) const
inline

Definition at line 61 of file Node.h.

{
node.value = val;
}
void Gaudi::Parsers::NodeOperations::operator() ( Node node,
boost::iterator_range< Iterator range 
) const
inline

Definition at line 65 of file Node.h.

{
node.value = boost::copy_range<std::string>(range);
}
void Gaudi::Parsers::NodeOperations::operator() ( Node node,
bool  val 
) const
inline

Definition at line 69 of file Node.h.

{
node.value = val?"1":"0";
}
void Gaudi::Parsers::NodeOperations::operator() ( Node node,
const Iterator iter 
) const
inline

Definition at line 73 of file Node.h.

{
const IteratorPosition& pos = iter.get_position();
node.position = Position(pos.file, pos.line, pos.column);
}

The documentation for this class was generated from the following file:

Generated at Fri May 31 2013 15:09:25 for Gaudi Framework, version v23r8 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004