| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Classes | Public Member Functions

# Gaudi::Parsers::NodeOperations Class Reference

`#include <Node.h>`

List of all members.

## 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,
|  | 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);
      }

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,
|  | 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,
|  | const std::string & | val
| ) |  | const`[inline]`

Definition at line 61 of file Node.h.

                                                              {
        node.value = val;
      }

void Gaudi::Parsers::NodeOperations::operator() | ( | Node & | node,
|  | Node & | child
| ) |  | const`[inline]`

Definition at line 57 of file Node.h.

                                                     {
        node.children.push_back(child);
      }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiSvc/src/JobOptionsSvc/Node.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines