| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions
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 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 37 of file SerializeSTL.h.

38 {} ) {
39 if ( first != last ) {
40 output( os, *first );
41 ++first;
42 }
43 for ( ; first != last; ++first ) { output( os << sep, *first ); }
44 return os;
45 }
gaudirun.output
output
Definition: gaudirun.py:484

## ◆ ostream_joiner() [2/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 48 of file SerializeSTL.h.

48 {} ) {
49 return ostream_joiner( os, std::begin( c ), std::end( c ), sep, output );
50 }
gaudirun.c
c
Definition: gaudirun.py:487
gaudirun.output
output
Definition: gaudirun.py:484
std::end
T end(T... args)
std::begin
T begin(T... args)
GaudiUtils::details::ostream_joiner
Stream & ostream_joiner(Stream &os, const Container &c, Separator sep, OutputElement output=OutputElement{})
Definition: SerializeSTL.h:48