The Gaudi Framework  master (37c0b60a)
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" } } {}

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  }

The documentation for this struct was generated from the following file:
Gaudi::Functional::Consumer
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
Definition: Consumer.h:69
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
PrepareBase.out
out
Definition: PrepareBase.py:20