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

Public Member Functions

 SDataProducer (const std::string &name, ISvcLocator *svcLoc)
S::Container operator() () const override

Public Attributes

Gaudi::Property< int > j { this, "j", 5 }

Detailed Description

Definition at line 458 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ SDataProducer()

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

Definition at line 460 of file MakeAndConsume.cpp.

461 : Producer( name, svcLoc, { "OutputLocation", "/Event/MyS" } ) {}
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition Producer.h:37

Member Function Documentation

◆ operator()()

S::Container Gaudi::TestSuite::SDataProducer::operator() ( ) const
inlineoverride

Definition at line 463 of file MakeAndConsume.cpp.

463 {
465 for ( int i = 0; i < j; ++i ) out.insert( new S{} );
466 info() << "storing KeyedContainer of size " << out.size() << " into " << outputLocation() << endmsg;
467 return out;
468 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
KeyedContainer< S, Containers::HashMap > Container

Member Data Documentation

◆ j

Gaudi::Property<int> Gaudi::TestSuite::SDataProducer::j { this, "j", 5 }

Definition at line 469 of file MakeAndConsume.cpp.

469{ this, "j", 5 };

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