libpressio 0.93.0
Loading...
Searching...
No Matches
Classes | Functions
printers.h File Reference

C++ stream compatible IO functions. More...

#include <iterator>
#include <string>
#include <ostream>
#include "options.h"
#include "data.h"
#include "compressor.h"
#include "pressio_dtype.h"
#include "pressio_compressor.h"
Include dependency graph for printers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  print_elements_helper< CharT, Traits >
 

Functions

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, pressio_thread_safety const &safety)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, pressio_options_key_status const &safety)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
print_elements_helper< CharT, Traits > print_elements (std::basic_ostream< CharT, Traits > &out)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, pressio_data const &data)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, enum pressio_option_type type)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, pressio_option const &option)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, pressio_options const &options)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, enum pressio_dtype type)
 
template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &out, libpressio_compressor_plugin const &comp)
 

Detailed Description

C++ stream compatible IO functions.

Function Documentation

◆ operator<<() [1/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
enum pressio_dtype  type 
)

human readable debugging IO function for pressio_dtype, the format is unspecified

Parameters
[in]outthe stream to write to
[in]typethe type to print

◆ operator<<() [2/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
enum pressio_option_type  type 
)

human readable debugging IO function for pressio_option_type, the format is unspecified

Parameters
[in]outthe stream to write to
[in]typethe type to print

◆ operator<<() [3/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
libpressio_compressor_plugin const &  comp 
)

human readable debugging IO function for libpressio_compressor_plugin, the format is unspecified

Parameters
[in]outthe stream to write to
[in]compthe type to print

◆ operator<<() [4/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
pressio_data const &  data 
)

human readable debugging IO function for pressio_data, the format is unspecified

Parameters
[in]outthe output stream to print to
[in]datathe data struct to print

◆ operator<<() [5/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
pressio_option const &  option 
)

human readable debugging IO function for pressio_option, the format is unspecified

Parameters
[in]outthe stream to write to
[in]optionthe option to print

◆ operator<<() [6/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
pressio_options const &  options 
)

human readable debugging IO function for pressio_options, the format is unspecified

Parameters
[in]outthe stream to write to
[in]optionsthe options to print

◆ operator<<() [7/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
pressio_options_key_status const &  safety 
)

print the thread safety entries

◆ operator<<() [8/8]

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > &  out,
pressio_thread_safety const &  safety 
)

print the thread safety entries

◆ print_elements()

template<class CharT = char, class Traits = std::char_traits<CharT>>
print_elements_helper< CharT, Traits > print_elements ( std::basic_ostream< CharT, Traits > &  out)

helper to construct the print_elements_helper for printing iterable collections

Parameters
[in]outthe stream to write to