19 o <<
"name: " << ie.name <<
", value: " << ie.value <<
", pos: " << ie.position;
24 o <<
"name: " << oe.
name <<
", value: " << oe.
value <<
", nbits: " << oe.
nbits <<
", outname: " << oe.
outname <<
", position: " << oe.
position;
30 o <<
"name: " << ge.
name <<
", value: " << ge.
value;
36 o <<
"name: " << pe.name <<
", value: " << pe.value <<
", pos: " << pe.position <<
", sel: " << pe.selection;
66 names.push_back(
x.value);
74 names.push_back(
isSortAlg() ?
x.value :
x.outname );
106 if(alg.isSortAlg()) {
107 o <<
"Sorting algorithm " << alg.algoID() <<
" : " << alg.type() <<
"/" << alg.name() << endl;
108 o <<
" Input : " << alg.m_inputElements[0].value << endl;
109 o <<
" Output : " << alg.m_outputElements[0].value << endl;
111 o <<
"Decision algorithm " << alg.algoID() <<
" : " << alg.type() <<
"/" << alg.name() << endl;
113 o <<
" Input " << ie.position <<
" : " << ie.value << endl;
117 o <<
" Fixed paramters: " << alg.getFixedParameters().size() << endl;
119 o <<
" " << setw(15) << left << ge.
name <<
" : " << ge.
value << endl;
120 o <<
" Parameters: " << alg.getParameters().size() << endl;
122 o <<
" " << setw(15) << left << pe.name <<
" : " << pe.value << endl;
virtual ~L1TopoConfigAlg()
void addFixedParameter(const std::string &name, const std::string &value)
const std::string & name() const
std::vector< TXC::FixedParameter > m_fixedParameters
std::vector< std::string > getOutputNames() const
void addOutput(const std::string &name, const std::string &value, unsigned int bits, const std::string &outname, unsigned int position)
void addInput(const std::string &name, const std::string &value, unsigned int position)
std::vector< TXC::InputElement > m_inputElements
std::string fullname() const
std::vector< TXC::RegisterParameter > m_variableParameters
std::vector< std::string > getInputNames() const
const std::string & type() const
L1TopoConfigAlg(const std::string &name, const std::string &type)
class L1TopoConfigAlg
std::vector< TXC::OutputElement > m_outputElements
void addParameter(const std::string &name, const std::string &value, unsigned int position, unsigned int selection)
const std::string selection
std::ostream & operator<<(std::ostream &, const TXC::L1TopoConfigAlg &)
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.