| The Gaudi Framework v29r0 (ff2e7097)

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

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

Classes | Public Member Functions | List of all members
Gaudi::Parsers::NodeOperations Class Referencefinal

`#include <src/JobOptionsSvc/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, 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 73 of file Node.h.

## Member Function Documentation

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

Definition at line 84 of file Node.h.

84 { node.type = type; }
gaudirun.type
type
Definition: gaudirun.py:133

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

Definition at line 86 of file Node.h.

86 { node.children.push_back( std::move( child ) ); }
std::move
T move(T...args)

void Gaudi::Parsers::NodeOperations::operator() | ( | Node & | node,
|  | std::string | val
| ) |  | const
| inline

Definition at line 88 of file Node.h.

88 { node.value = std::move( val ); }
std::move
T move(T...args)

void Gaudi::Parsers::NodeOperations::operator() | ( | Node & | node,
|  | boost::iterator_range< Iterator > | range
| ) |  | const
| inline

Definition at line 90 of file Node.h.

91 {
92 node.value = boost::copy_range<std::string>( range );
93 }
Gaudi::range
NamedRange_< CONTAINER > range(const CONTAINER &cnt, std::string name)
simple function to create the named range from arbitrary container
Definition: NamedRange.h:121

void Gaudi::Parsers::NodeOperations::operator() | ( | Node & | node,
|  | bool | val
| ) |  | const
| inline

Definition at line 95 of file Node.h.

95 { node.value = val ? "1" : "0"; }

void Gaudi::Parsers::NodeOperations::operator() | ( | Node & | node,
|  | const Iterator & | iter
| ) |  | const
| inline

Definition at line 97 of file Node.h.

98 {
99 const IteratorPosition& pos = iter.get_position();
100 node.position = Position( pos.file, pos.line, pos.column );
101 }
IteratorPosition
boost::spirit::classic::file_position_base< std::string > IteratorPosition
Definition: Iterator.h:19

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

- GaudiCoreSvc/src/JobOptionsSvc/Node.h