The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::TestSuite::IntToFloatData Struct Referencefinal
Inheritance diagram for Gaudi::TestSuite::IntToFloatData:
Collaboration diagram for Gaudi::TestSuite::IntToFloatData:

Public Member Functions

 IntToFloatData (const std::string &name, ISvcLocator *svcLoc)
float operator() (const int &input) const override

Detailed Description

Definition at line 184 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntToFloatData()

Gaudi::TestSuite::IntToFloatData::IntToFloatData ( const std::string & name,
ISvcLocator * svcLoc )
inline

Definition at line 186 of file MakeAndConsume.cpp.

187 : Transformer( name, svcLoc, { "InputLocation", "/Event/MyInt" }, { "OutputLocation", "/Event/MyFloat" } ) {}
details::Transformer< Signature, Traits_, details::isLegacy< Traits_ > > Transformer

Member Function Documentation

◆ operator()()

float Gaudi::TestSuite::IntToFloatData::operator() ( const int & input) const
inlineoverride

Definition at line 189 of file MakeAndConsume.cpp.

189 {
190 info() << "Converting: " << input << " from " << inputLocation() << " and storing it into " << outputLocation()
191 << endmsg;
192 return input;
193 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

The documentation for this struct was generated from the following file: