| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

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_v23r0/GaudiCoreSvc/src/JobOptionsSvc/Node.h

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