31 #ifndef _LibCore_Out_HPP
32 #define _LibCore_Out_HPP
44 enum Mode {GRANOO_NORMAL, GRANOO_WARNING, GRANOO_ERROR, GRANOO_DEBUG};
58 template<
typename T> std::ostream &
operator<<(
const T&
t);
81 case GRANOO_NORMAL: (*_os) <<
t;
break;
std::ostream & operator<<(std::ostream &os, const granoo::granoo_endl &b)
Definition: Out.cpp:105
std::ostream * _os
Definition: Out.hpp:70
Mode
Definition: Out.hpp:44
static std::string _warni_label
Definition: Out.hpp:64
void display_state_if_needed()
Definition: Out.cpp:90
unsigned int _last_status
Definition: Out.hpp:71
Out & operator=(const Out &)=delete
~Out()
Definition: Out.cpp:59
std::ostream & operator<<(const T &t)
Definition: Out.hpp:77
void display_state()
Definition: Out.cpp:85
std::ostream & ostream()
Definition: Out.cpp:75
void flush()
Definition: Out.cpp:80
static std::string _debug_label
Definition: Out.hpp:66
void set_ostream(std::ostream *)
Definition: Out.cpp:63
std::ostream & newline()
Definition: Out.cpp:68
static std::string _error_label
Definition: Out.hpp:65
Mode _mode
Definition: Out.hpp:69
static GranOO3::Core::Out cwarn
Definition: Out.hpp:102
static GranOO3::Core::Out cerr
Definition: Out.hpp:101
static GranOO3::Core::Out debug
Definition: Out.hpp:103
static granoo_endl endl
Definition: Out.hpp:106
static GranOO3::Core::Out cout
Definition: Out.hpp:100
Definition: Common.hpp:198
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t t(t+t)") define_sfop3(16