Print templates for printing dco member variables.
More...
|
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.
|
|
|
| DUECA_NS_START |
|
| DUECA_NS_END |
|
Print templates for printing dco member variables.
◆ 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
-
s | Stream to print to |
obj | Object 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
-
s | Stream to print to |
obj | Object 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
-
s | Stream to print to |
obj | Object 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
-
s | Stream to print to |
obj | Object to print |
- Returns
- Reference to the stream