| The Gaudi Framework v30r0 (c919700c)

- 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 Struct Referencefinal

`#include <src/JobOptionsSvc/Node.h>`

## Classes
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 71 of file Node.h.

## Member Function Documentation

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

Definition at line 75 of file Node.h.

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

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

Definition at line 77 of file Node.h.

77 { 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 79 of file Node.h.

79 { 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 81 of file Node.h.

82 {
83 node.value = boost::copy_range<std::string>( range );
84 }
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 86 of file Node.h.

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

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

Definition at line 88 of file Node.h.

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

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

- GaudiCoreSvc/src/JobOptionsSvc/Node.h