Namespaces | |
namespace | roboptim |
Meta-functions, functions and solvers related classes. | |
namespace | roboptim::fg |
Defines | |
#define | ROBOPTIM_CORE_FILTER_TTY() |
Functions | |
std::ostream & | roboptim::fg::reset (std::ostream &o) |
std::ostream & | roboptim::fg::red (std::ostream &o) |
std::ostream & | roboptim::fg::green (std::ostream &o) |
std::ostream & | roboptim::fg::yellow (std::ostream &o) |
std::ostream & | roboptim::fg::blue (std::ostream &o) |
std::ostream & | roboptim::fg::orange (std::ostream &o) |
std::ostream & | roboptim::fg::ok (std::ostream &o) |
std::ostream & | roboptim::fg::fail (std::ostream &o) |
std::ostream & | roboptim::fg::warn (std::ostream &o) |
#define ROBOPTIM_CORE_FILTER_TTY | ( | ) |
do \
{ \
if (o == std::cout && !isatty (fileno (stdout))) \
return o; \
if (o == std::cerr && !isatty (fileno (stderr))) \
return o; \
if (o != std::cout && o != std::cerr) \
return o; \
} \
while (0)
Referenced by roboptim::fg::blue(), roboptim::fg::green(), roboptim::fg::orange(), roboptim::fg::red(), roboptim::fg::reset(), and roboptim::fg::yellow().