libcopp
2.2.0
|
#include <shell_font.h>
Public Types | |
typedef shell_stream_opr | self_t |
Public Member Functions | |
shell_stream_opr (stream_t *os) | |
~shell_stream_opr () | |
template<typename Ty > | |
const shell_stream_opr & | operator<< (const Ty &v) const |
const shell_stream_opr & | operator<< (std::nullptr_t) const |
const shell_stream_opr & | operator<< (shell_font_style::shell_font_spec style) const |
const shell_stream_opr & | operator<< (shell_font_style::shell_font_color style) const |
const shell_stream_opr & | operator<< (shell_font_style::shell_font_background_color style) const |
const shell_stream_opr & | operator<< (stream_t &(*fn)(stream_t &)) const |
const shell_stream_opr & | open (int flag) const |
void | close () const |
void | reset () const |
operator stream_t & () const | |
operator const stream_t & () const | |
Private Member Functions | |
shell_stream_opr (const shell_stream_opr &) | |
shell_stream_opr & | operator= (const shell_stream_opr &) |
Private Attributes | |
stream_t * | pOs |
int | flag |
Friends | |
class | shell_stream |
Definition at line 142 of file shell_font.h.
Definition at line 144 of file shell_font.h.
|
private |
Definition at line 320 of file shell_font.cpp.
util::cli::shell_stream::shell_stream_opr::shell_stream_opr | ( | stream_t * | os | ) |
Definition at line 300 of file shell_font.cpp.
util::cli::shell_stream::shell_stream_opr::~shell_stream_opr | ( | ) |
Definition at line 312 of file shell_font.cpp.
void util::cli::shell_stream::shell_stream_opr::close | ( | ) | const |
Definition at line 373 of file shell_font.cpp.
References util::cli::shell_font::GetStyleCode(), and util::cli::shell_font_style::SHELL_FONT_SPEC_NULL.
Referenced by operator<<().
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::open | ( | int | flag | ) | const |
Definition at line 363 of file shell_font.cpp.
References util::cli::shell_font_style::SHELL_FONT_SPEC_NULL.
|
inline |
Definition at line 184 of file shell_font.h.
References pOs.
|
inline |
Definition at line 182 of file shell_font.h.
References pOs.
|
inline |
Definition at line 164 of file shell_font.h.
References close().
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator<< | ( | shell_font_style::shell_font_background_color | style | ) | const |
Definition at line 351 of file shell_font.cpp.
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator<< | ( | shell_font_style::shell_font_color | style | ) | const |
Definition at line 345 of file shell_font.cpp.
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator<< | ( | shell_font_style::shell_font_spec | style | ) | const |
Definition at line 339 of file shell_font.cpp.
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator<< | ( | std::nullptr_t | ) | const |
Definition at line 333 of file shell_font.cpp.
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator<< | ( | stream_t &(*)(stream_t &) | fn | ) | const |
Definition at line 357 of file shell_font.cpp.
|
private |
Definition at line 322 of file shell_font.cpp.
References pOs, and util::cli::shell_font_style::SHELL_FONT_SPEC_NULL.
void util::cli::shell_stream::shell_stream_opr::reset | ( | ) | const |
Definition at line 407 of file shell_font.cpp.
References util::cli::shell_font::GetStyleCloseCode().
|
friend |
Definition at line 157 of file shell_font.h.
|
mutableprivate |
Definition at line 151 of file shell_font.h.
|
private |
Definition at line 147 of file shell_font.h.
Referenced by operator const stream_t &(), operator stream_t &(), and operator=().