The Gaudi Framework  master (37c0b60a)
ProduceIntView Struct Reference
Inheritance diagram for ProduceIntView:
Collaboration diagram for ProduceIntView:

Public Member Functions

 ProduceIntView (const std::string &name, ISvcLocator *svcLoc)
 
std::vector< int > operator() () const override
 

Detailed Description

Definition at line 33 of file AnyViewAlgorithm.cpp.

Constructor & Destructor Documentation

◆ ProduceIntView()

ProduceIntView::ProduceIntView ( const std::string name,
ISvcLocator svcLoc 
)
inline

Definition at line 35 of file AnyViewAlgorithm.cpp.

36  : Producer{ name, svcLoc, { "Output", "/Event/Test/IntView" } } {}

Member Function Documentation

◆ operator()()

std::vector<int> ProduceIntView::operator() ( ) const
inlineoverride

Definition at line 38 of file AnyViewAlgorithm.cpp.

38  {
39  std::vector<int> vi{ 1, 2, 3, 5, 8, 13, 21, 34 };
40  info() << "made vector with data at : " << vi.data() << endmsg;
41  return vi;
42  }

The documentation for this struct was generated from the following file:
std::vector< int >
Gaudi::Functional::Producer
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition: Producer.h:37
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
std::vector::data
T data(T... args)