The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
GetIntView Struct Reference
Inheritance diagram for GetIntView:
Collaboration diagram for GetIntView:

Public Member Functions

 GetIntView (const std::string &name, ISvcLocator *svcLoc)
 
void operator() (const gsl::span< const int > &view) const override
 

Detailed Description

Definition at line 54 of file AnyViewAlgorithm.cpp.

Constructor & Destructor Documentation

◆ GetIntView()

GetIntView::GetIntView ( const std::string & name,
ISvcLocator * svcLoc )
inline

Definition at line 55 of file AnyViewAlgorithm.cpp.

56 : Consumer{ name, svcLoc, { "Input", "/Event/Test/IntView" } } {}
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
Definition Consumer.h:69

Member Function Documentation

◆ operator()()

void GetIntView::operator() ( const gsl::span< const int > & view) const
inlineoverride

Definition at line 58 of file AnyViewAlgorithm.cpp.

58 {
59 info() << "got a span with data at : " << view.data() << endmsg;
60 auto& out = info();
61 for ( int i : view ) out << i << " ";
62 out << endmsg;
63 }
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: