#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 42 of file Support.hpp.
◆ in() [1/2]
std::istream * UI::in |
( |
| ) |
const |
|
inline |
Definition at line 45 of file Support.hpp.
45{ return _in ? _in.get() : &std::cin; }
Referenced by in().
◆ in() [2/2]
void UI::in |
( |
std::unique_ptr< std::istream > && |
in | ) |
|
|
inline |
Definition at line 49 of file Support.hpp.
49{ _in = std::move(
in); }
std::istream * in() const
References in().
◆ out() [1/2]
std::ostream * UI::out |
( |
| ) |
const |
|
inline |
Definition at line 46 of file Support.hpp.
46{ return _out ? _out.get() : &std::cout; }
Referenced by out().
◆ out() [2/2]
void UI::out |
( |
std::unique_ptr< std::ostream > && |
out | ) |
|
|
inline |
Definition at line 50 of file Support.hpp.
50{ _out = std::move(
out); }
std::ostream * out() const
References out().
The documentation for this class was generated from the following file: