Skip to content

Augment TupleObj

Gerhard Raven requested to merge lhcb/Gaudi:augment_tupleobj into master

Set the values for several columns simultaneously, by invoking a (labeled) set of callables for the single provided object, eg.

Gaudi::XYZPoint p = ... ;
tuple->columns( p, std::make_pair( &Gaudi::XYZPoint::X, "X" ),
                   std::make_pair( &Gaudi::XYZPoint::Y, "Y" ),
                   std::make_pair( &Gaudi::XYZPoint::Z, "Z" ) );
Edited by Gerhard Raven

Merge request reports