The Gaudi Framework  v36r10 (fc05264c)
GaudiUtils::details Namespace Reference

Classes

struct  IdentityOutputter
 

Functions

template<typename Stream , typename Iterator , typename Separator , typename OutputElement = IdentityOutputter>
Stream & ostream_joiner (Stream &os, Iterator first, Iterator last, Separator sep, OutputElement output=OutputElement{})
 
template<typename Stream , typename Container , typename Separator , typename OutputElement = IdentityOutputter>
Stream & ostream_joiner (Stream &os, const Container &c, Separator sep, OutputElement output=OutputElement{})
 

Function Documentation

◆ ostream_joiner() [1/2]

template<typename Stream , typename Container , typename Separator , typename OutputElement = IdentityOutputter>
Stream& GaudiUtils::details::ostream_joiner ( Stream &  os,
const Container &  c,
Separator  sep,
OutputElement  output = OutputElement{} 
)

Definition at line 81 of file SerializeSTL.h.

81  {} ) {
82  using std::begin, std::end;
83  return ostream_joiner( os, begin( c ), end( c ), sep, output );
84  }

◆ ostream_joiner() [2/2]

template<typename Stream , typename Iterator , typename Separator , typename OutputElement = IdentityOutputter>
Stream& GaudiUtils::details::ostream_joiner ( Stream &  os,
Iterator  first,
Iterator  last,
Separator  sep,
OutputElement  output = OutputElement{} 
)

Definition at line 73 of file SerializeSTL.h.

74  {} ) {
75  if ( first != last ) output( os, *first++ );
76  while ( first != last ) output( os << sep, *first++ );
77  return os;
78  }
gaudirun.c
c
Definition: gaudirun.py:525
gaudirun.output
output
Definition: gaudirun.py:521
CLHEP::begin
double * begin(CLHEP::HepVector &v)
Definition: TupleAlg.cpp:45
IOTest.end
def end
Definition: IOTest.py:128
GaudiUtils::details::ostream_joiner
Stream & ostream_joiner(Stream &os, const Container &c, Separator sep, OutputElement output=OutputElement{})
Definition: SerializeSTL.h:81
std::begin
T begin(T... args)
std::end
T end(T... args)