#include <Support.hpp>
|
std::istream * | in () const |
|
std::ostream * | out () const |
|
void | in (std::unique_ptr< std::istream > &&in) |
|
void | out (std::unique_ptr< std::ostream > &&out) |
|
Definition at line 56 of file Support.hpp.
◆ in() [1/2]
std::istream * tfkit::IOConfiguration::in |
( |
| ) |
const |
|
inline |
Definition at line 59 of file Support.hpp.
59{ return _in ? _in.get() : &std::cin; }
Referenced by in().
◆ in() [2/2]
void tfkit::IOConfiguration::in |
( |
std::unique_ptr< std::istream > && |
in | ) |
|
|
inline |
Definition at line 63 of file Support.hpp.
63{ _in = std::move(
in); }
std::istream * in() const
References in().
◆ out() [1/2]
std::ostream * tfkit::IOConfiguration::out |
( |
| ) |
const |
|
inline |
Definition at line 60 of file Support.hpp.
60{ return _out ? _out.get() : &std::cout; }
Referenced by out().
◆ out() [2/2]
void tfkit::IOConfiguration::out |
( |
std::unique_ptr< std::ostream > && |
out | ) |
|
|
inline |
Definition at line 64 of file Support.hpp.
64{ _out = std::move(
out); }
std::ostream * out() const
References out().
The documentation for this class was generated from the following file: