libcopp  1.1.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
util::cli::shell_stream::shell_stream_opr Class Reference

#include <shell_font.h>

Collaboration diagram for util::cli::shell_stream::shell_stream_opr:
Collaboration graph

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_oproperator<< (const Ty &v) const
 
const shell_stream_oproperator<< (shell_font_style::shell_font_spec style) const
 
const shell_stream_oproperator<< (shell_font_style::shell_font_color style) const
 
const shell_stream_oproperator<< (shell_font_style::shell_font_background_color style) const
 
const shell_stream_oproperator<< (stream_t &(*fn)(stream_t &)) const
 
const shell_stream_opropen (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_oproperator= (const shell_stream_opr &)
 

Private Attributes

stream_tpOs
 
int flag
 

Friends

class shell_stream
 

Detailed Description

Definition at line 158 of file shell_font.h.

Member Typedef Documentation

Definition at line 160 of file shell_font.h.

Constructor & Destructor Documentation

util::cli::shell_stream::shell_stream_opr::shell_stream_opr ( const shell_stream_opr other)
private

Definition at line 243 of file shell_font.cpp.

util::cli::shell_stream::shell_stream_opr::shell_stream_opr ( stream_t os)

Definition at line 223 of file shell_font.cpp.

util::cli::shell_stream::shell_stream_opr::~shell_stream_opr ( )

Definition at line 235 of file shell_font.cpp.

References pOs, and reset().

Member Function Documentation

void util::cli::shell_stream::shell_stream_opr::close ( ) const
const shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::open ( int  flag) const

Definition at line 256 of file shell_font.cpp.

References flag, reset(), and util::cli::shell_font_style::SHELL_FONT_SPEC_NULL.

util::cli::shell_stream::shell_stream_opr::operator const stream_t & ( ) const
inline

Definition at line 217 of file shell_font.h.

util::cli::shell_stream::shell_stream_opr::operator stream_t & ( ) const
inline

Definition at line 213 of file shell_font.h.

template<typename Ty >
const shell_stream_opr& util::cli::shell_stream::shell_stream_opr::operator<< ( const Ty &  v) const
inline

Definition at line 180 of file shell_font.h.

const shell_stream_opr& util::cli::shell_stream::shell_stream_opr::operator<< ( shell_font_style::shell_font_spec  style) const
inline

Definition at line 186 of file shell_font.h.

const shell_stream_opr& util::cli::shell_stream::shell_stream_opr::operator<< ( shell_font_style::shell_font_color  style) const
inline

Definition at line 191 of file shell_font.h.

const shell_stream_opr& util::cli::shell_stream::shell_stream_opr::operator<< ( shell_font_style::shell_font_background_color  style) const
inline

Definition at line 196 of file shell_font.h.

const shell_stream_opr& util::cli::shell_stream::shell_stream_opr::operator<< ( stream_t &(*)(stream_t &)  fn) const
inline

Definition at line 201 of file shell_font.h.

shell_stream::shell_stream_opr & util::cli::shell_stream::shell_stream_opr::operator= ( const shell_stream_opr other)
private

Definition at line 245 of file shell_font.cpp.

References flag, pOs, and util::cli::shell_font_style::SHELL_FONT_SPEC_NULL.

void util::cli::shell_stream::shell_stream_opr::reset ( ) const

Definition at line 301 of file shell_font.cpp.

References close(), util::cli::shell_font::GetStyleCloseCode(), and pOs.

Referenced by open(), and ~shell_stream_opr().

Friends And Related Function Documentation

friend class shell_stream
friend

Definition at line 173 of file shell_font.h.

Field Documentation

int util::cli::shell_stream::shell_stream_opr::flag
mutableprivate

Definition at line 167 of file shell_font.h.

Referenced by close(), open(), and operator=().

stream_t* util::cli::shell_stream::shell_stream_opr::pOs
private

Definition at line 163 of file shell_font.h.

Referenced by close(), operator=(), reset(), and ~shell_stream_opr().


The documentation for this class was generated from the following files: