libcopp  1.1.0
Data Structures | Public Types | Public Member Functions | Private Attributes
util::cli::shell_stream Class Reference

#include <shell_font.h>

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

Data Structures

class  shell_stream_opr
 

Public Types

typedef std::ostream stream_t
 

Public Member Functions

 shell_stream (stream_t &stream=std::cout)
 
shell_stream_opr operator() () const
 

Private Attributes

stream_tm_pOs
 

Detailed Description

Window 控制台相关

See also
https://msdn.microsoft.com/zh-cn/windows/apps/ms686047%28v=vs.100%29.aspx
https://github.com/owent-utils/python/blob/master/print_color.py

Definition at line 155 of file shell_font.h.

Member Typedef Documentation

typedef std::ostream util::cli::shell_stream::stream_t

Definition at line 157 of file shell_font.h.

Constructor & Destructor Documentation

util::cli::shell_stream::shell_stream ( stream_t stream = std::cout)

Definition at line 220 of file shell_font.cpp.

Member Function Documentation

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

Definition at line 226 of file shell_font.h.

Field Documentation

stream_t* util::cli::shell_stream::m_pOs
private

Definition at line 231 of file shell_font.h.


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