ATLAS Offline Software
Loading...
Searching...
No Matches
L1TopoConfigGlobal.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <iostream>
8
9using namespace std;
10
11
12
14
15void TXC::L1TopoConfigGlobal::addTopoConfigElement(const std::string & name, const std::string & value) {
16 m_topoConfigElements.push_back(TopoConfigElement(name,value));
17}
18
22
23namespace TXC {
24
25std::ostream & operator<<(std::ostream &o, const L1TopoConfigGlobal & topoconfig) {
26 o << "General configuration (<TopoConfig>):" << endl;
27 for(const TXC::TopoConfigElement& ce : topoconfig.getTopoConfigs())
28 o << " " << ce.name << ": " << ce.value << endl;
29
30 return o;
31}
32
33} // namespace TXC
std::vector< TopoConfigElement > m_topoConfigElements
const std::vector< TopoConfigElement > & getTopoConfigs() const
void addTopoConfigElement(const std::string &name, const std::string &value)
std::ostream & operator<<(std::ostream &, const TXC::L1TopoConfigAlg &)
STL namespace.