The Gaudi Framework  master (37c0b60a)
Node.cpp File Reference
#include "Node.h"
#include <algorithm>
#include <numeric>
Include dependency graph for Node.cpp:

Go to the source code of this file.

Functions

std::vector< std::stringinit_names ()
 

Function Documentation

◆ init_names()

std::vector<std::string> init_names ( )

Definition at line 21 of file Node.cpp.

21  {
22  std::vector<std::string> n( gp::Node::NodeType::number_of_node_types );
23  n[gp::Node::NodeType::kRoot] = "root";
24  n[gp::Node::NodeType::kInclude] = "include";
25  n[gp::Node::NodeType::kIdentifier] = "identifier";
26  n[gp::Node::NodeType::kProperty] = "property";
27  n[gp::Node::NodeType::kOperation] = "operation";
28  n[gp::Node::NodeType::kValue] = "value";
29  n[gp::Node::NodeType::kAssign] = "assign";
30  n[gp::Node::NodeType::kEqual] = "equal";
31  n[gp::Node::NodeType::kPlusEqual] = "plus_equal";
32  n[gp::Node::NodeType::kMinusEqual] = "minus_equal";
33  n[gp::Node::NodeType::kVector] = "vector";
34  n[gp::Node::NodeType::kMap] = "map";
35  n[gp::Node::NodeType::kPair] = "pair";
36  n[gp::Node::NodeType::kSimple] = "simple";
37  n[gp::Node::NodeType::kString] = "string";
38  n[gp::Node::NodeType::kReal] = "real";
39  n[gp::Node::NodeType::kBool] = "bool";
40  n[gp::Node::NodeType::kUnits] = "units";
41  n[gp::Node::NodeType::kUnit] = "unit";
42  n[gp::Node::NodeType::kCondition] = "condition";
43  n[gp::Node::NodeType::kIfdef] = "ifdef";
44  n[gp::Node::NodeType::kIfndef] = "ifndef";
45  n[gp::Node::NodeType::kElse] = "else";
46  n[gp::Node::NodeType::kPrintOptions] = "print_options";
47  n[gp::Node::NodeType::kPrintOn] = "print_on";
48  n[gp::Node::NodeType::kPrintOff] = "print_off";
49  n[gp::Node::NodeType::kShell] = "shell";
50  n[gp::Node::NodeType::kPrintTree] = "print_tree";
51  n[gp::Node::NodeType::kDumpFile] = "dump_file";
52  n[gp::Node::NodeType::kPropertyRef] = "property_ref";
53  return n;
54 }
std::vector< std::string >
cpluginsvc.n
n
Definition: cpluginsvc.py:234