| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiCoreSvc/src/JobOptionsSvc/Node.h