cphot 0.1
A C++ tool for computing photometry from spectra.
pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters > Struct Template Reference

#include <prettyprint.hpp>

Classes

struct  printer
 
struct  printer< std::pair< T1, T2 > >
 
struct  printer< std::tuple< Args... > >
 

Public Types

using delimiters_type = TDelimiters
 
using ostream_type = std::basic_ostream< TChar, TCharTraits >
 

Public Member Functions

 print_container_helper (const T &container)
 
void operator() (ostream_type &stream) const
 

Detailed Description

template<typename T, typename TChar = char, typename TCharTraits = ::std::char_traits<TChar>, typename TDelimiters = delimiters<T, TChar>>
struct pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters >

Definition at line 110 of file prettyprint.hpp.

Member Typedef Documentation

◆ delimiters_type

template<typename T , typename TChar = char, typename TCharTraits = ::std::char_traits<TChar>, typename TDelimiters = delimiters<T, TChar>>
using pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters >::delimiters_type = TDelimiters

Definition at line 112 of file prettyprint.hpp.

◆ ostream_type

template<typename T , typename TChar = char, typename TCharTraits = ::std::char_traits<TChar>, typename TDelimiters = delimiters<T, TChar>>
using pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters >::ostream_type = std::basic_ostream<TChar, TCharTraits>

Definition at line 113 of file prettyprint.hpp.

Constructor & Destructor Documentation

◆ print_container_helper()

template<typename T , typename TChar = char, typename TCharTraits = ::std::char_traits<TChar>, typename TDelimiters = delimiters<T, TChar>>
pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters >::print_container_helper ( const T &  container)
inline

Definition at line 141 of file prettyprint.hpp.

Member Function Documentation

◆ operator()()

template<typename T , typename TChar = char, typename TCharTraits = ::std::char_traits<TChar>, typename TDelimiters = delimiters<T, TChar>>
void pretty_print::print_container_helper< T, TChar, TCharTraits, TDelimiters >::operator() ( ostream_type stream) const
inline

Definition at line 145 of file prettyprint.hpp.


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