rivet is hosted by Hepforge, IPPP Durham
custom_delims_wrapper< T, Delims > Struct Template Reference

#include <PrettyPrint.hh>

List of all members.

Public Member Functions

 custom_delims_wrapper (const T &t_)
std::ostream & stream (std::ostream &s)
std::wostream & stream (std::wostream &s)
virtual std::ostream & stream (::std::ostream &)=0
virtual std::wostream & stream (::std::wostream &)=0

Private Attributes

const T & t

Detailed Description

template<typename T, typename Delims>
struct Rivet::pretty_print::custom_delims_wrapper< T, Delims >

Definition at line 334 of file PrettyPrint.hh.


Constructor & Destructor Documentation

custom_delims_wrapper ( const T &  t_) [inline]

Definition at line 336 of file PrettyPrint.hh.

: t(t_) { }

Member Function Documentation

virtual std::ostream& stream ( ::std::ostream &  ) [pure virtual, inherited]
virtual std::wostream& stream ( ::std::wostream &  ) [pure virtual, inherited]
std::ostream& stream ( std::ostream &  s) [inline]

Definition at line 338 of file PrettyPrint.hh.

        {
            return s << print_container_helper<T, char, std::char_traits<char>, Delims>(t);
        }
std::wostream& stream ( std::wostream &  s) [inline]

Definition at line 343 of file PrettyPrint.hh.

        {
            return s << print_container_helper<T, wchar_t, std::char_traits<wchar_t>, Delims>(t);
        }

Member Data Documentation

const T& t [private]

Definition at line 349 of file PrettyPrint.hh.


The documentation for this struct was generated from the following file: