libcopp  2.2.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<< (std::nullptr_t) 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 142 of file shell_font.h.

Member Typedef Documentation

◆ self_t

Definition at line 144 of file shell_font.h.

Constructor & Destructor Documentation

◆ shell_stream_opr() [1/2]

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

Definition at line 320 of file shell_font.cpp.

◆ shell_stream_opr() [2/2]

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

Definition at line 300 of file shell_font.cpp.

◆ ~shell_stream_opr()

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

Definition at line 312 of file shell_font.cpp.

Member Function Documentation

◆ close()

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

◆ open()

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.

◆ operator const stream_t &()

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

Definition at line 184 of file shell_font.h.

References pOs.

◆ operator stream_t &()

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

Definition at line 182 of file shell_font.h.

References pOs.

◆ operator<<() [1/6]

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

Definition at line 164 of file shell_font.h.

References close().

◆ operator<<() [2/6]

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.

◆ operator<<() [3/6]

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.

◆ operator<<() [4/6]

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.

◆ operator<<() [5/6]

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.

◆ operator<<() [6/6]

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.

◆ operator=()

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

Definition at line 322 of file shell_font.cpp.

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

◆ reset()

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().

Friends And Related Function Documentation

◆ shell_stream

friend class shell_stream
friend

Definition at line 157 of file shell_font.h.

Field Documentation

◆ flag

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

Definition at line 151 of file shell_font.h.

◆ pOs

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

Definition at line 147 of file shell_font.h.

Referenced by operator const stream_t &(), operator stream_t &(), and operator=().


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