The Gaudi Framework  master (37c0b60a)
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 83 of file SerializeSTL.h.

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

◆ 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 75 of file SerializeSTL.h.

76  {} ) {
77  if ( first != last ) output( os, *first++ );
78  while ( first != last ) output( os << sep, *first++ );
79  return os;
80  }
gaudirun.c
c
Definition: gaudirun.py:525
gaudirun.output
output
Definition: gaudirun.py:521
Gaudi::Utils::begin
AttribStringParser::Iterator begin(const AttribStringParser &parser)
Definition: AttribStringParser.h:136
GaudiUtils::details::ostream_joiner
Stream & ostream_joiner(Stream &os, const Container &c, Separator sep, OutputElement output=OutputElement{})
Definition: SerializeSTL.h:83
std::begin
T begin(T... args)
std::end
T end(T... args)
IOTest.end
end
Definition: IOTest.py:125