DUECA/DUSIME
Loading...
Searching...
No Matches
dcoprint.hxx File Reference

Print templates for printing dco member variables. More...

Include dependency graph for dcoprint.hxx:

Functions

template<typename S , typename T >
S & dcoprint (S &s, const T &obj, const dco_print_single &)
 Default, print a standard object using standard iostream.
 
template<typename S , typename T >
S & dcoprint (S &s, const T &obj, const dco_print_iterable &)
 Print a list or sequence of someting.
 
template<typename S , typename T >
S & dcoprint (S &s, const T &obj, const dco_print_pair &)
 Print a pair.
 
template<typename S , typename T >
S & dcoprint (S &s, const T &obj, const dco_print_optional &)
 Print optionally filled value.
 

Variables

 DUECA_NS_START
 
 DUECA_NS_END
 

Detailed Description

Print templates for printing dco member variables.

Function Documentation

◆ dcoprint() [1/4]

template<typename S , typename T >
S & dcoprint ( S & s,
const T & obj,
const dco_print_single &  )
inline

Default, print a standard object using standard iostream.

Parameters
sStream to print to
objObject to print
Returns
Reference to the stream

◆ dcoprint() [2/4]

template<typename S , typename T >
S & dcoprint ( S & s,
const T & obj,
const dco_print_iterable &  )
inline

Print a list or sequence of someting.

Parameters
sStream to print to
objObject to print
Returns
Reference to the stream

◆ dcoprint() [3/4]

template<typename S , typename T >
S & dcoprint ( S & s,
const T & obj,
const dco_print_pair &  )
inline

Print a pair.

Parameters
sStream to print to
objObject to print
Returns
Reference to the stream

◆ dcoprint() [4/4]

template<typename S , typename T >
S & dcoprint ( S & s,
const T & obj,
const dco_print_optional &  )
inline

Print optionally filled value.

Parameters
sStream to print to
objObject to print
Returns
Reference to the stream