Definition at line 80 of file merging_transformer.cpp.
◆ is2ff_merger_with_scalar()
| is2ff_merger_with_scalar::is2ff_merger_with_scalar |
( |
std::string const & | name, |
|
|
ISvcLocator * | pSvcLocator ) |
|
inline |
Definition at line 81 of file merging_transformer.cpp.
83 { { "InputInts", { "firstInt", "secondInt" } }, { "Scale", "scale" } },
84 { { "O1", "firstFloat" }, { "O2", "secondFloat" } } ) {}
◆ operator()()
| out_t is2ff_merger_with_scalar::operator() |
( |
ints const & | is, |
|
|
int const & | scale ) const |
|
inlineoverride |
Definition at line 86 of file merging_transformer.cpp.
86 {
87 float sum = 0, product = 1;
88
89 for ( auto i : is ) {
90 info() << "i: " << i << " ";
91 sum += i;
92 product *= i;
93 }
96 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
The documentation for this struct was generated from the following file: