fastdo  0.6.16
console.hpp 文件参考
#include <iostream>
console.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  winux::ConsoleAttr
 控制台属性类 更多...
 
class  winux::ConsoleAttrT< _VarType >
 控制台属性类模板 更多...
 
class  winux::ConsoleOuputMutexScopeGuard
 控制台输出ScopeGuard 更多...
 

命名空间

 winux
 跨平台基础功能库
 

枚举

enum  winux::ConsoleColorAttrFlags : winux::ushort {
  winux::fgBlack = 0, winux::fgNavy = 1, winux::fgAtrovirens = 2, winux::fgTeal = 3,
  winux::fgMaroon = 4, winux::fgPurple = 5, winux::fgOlive = 6, winux::fgSilver = 7,
  winux::fgGray = 8, winux::fgIntensity = fgGray, winux::fgBlue = 9, winux::fgGreen = 10,
  winux::fgAqua = 11, winux::fgRed = 12, winux::fgFuchsia = 13, winux::fgYellow = 14,
  winux::fgWhite = 15, winux::bgNavy = 0x0100, winux::bgAtrovirens = 0x0200, winux::bgTeal = 0x0300,
  winux::bgMaroon = 0x0400, winux::bgPurple = 0x0500, winux::bgOlive = 0x0600, winux::bgSilver = 0x0700,
  winux::bgBlack = 0x0800, winux::bgWhite = 0x0000, winux::bgGray = bgSilver, winux::bgBlue = bgNavy,
  winux::bgGreen = bgAtrovirens, winux::bgAqua = bgTeal, winux::bgRed = bgMaroon, winux::bgFuchsia = bgPurple,
  winux::bgYellow = bgOlive, winux::ccaIgnore = 0x8000
}
 颜色属性标记 更多...
 
enum  winux::ConsoleTextLayoutAlignment { winux::ctlaLeft, winux::ctlaCenter, winux::ctlaRight }
 文本对齐方式 更多...
 

函数

template<typename _VarType >
std::ostream & winux::operator<< (std::ostream &out, ConsoleAttrT< _VarType > const &tr)
 
template<typename _VarType >
std::istream & winux::operator>> (std::istream &in, ConsoleAttrT< _VarType > const &tr)
 
template<typename _VarType >
std::wostream & winux::operator<< (std::wostream &out, ConsoleAttrT< _VarType > const &tr)
 
template<typename _VarType >
std::wistream & winux::operator>> (std::wistream &in, ConsoleAttrT< _VarType > const &tr)
 
template<typename _VarType >
ConsoleAttrT< _VarType > winux::ConsoleColor (winux::ushort attr, _VarType const &v, bool isSetBgColor=false)
 控制台颜色函数 更多...
 
template<typename _ChTy >
static void winux::OutputV (std::basic_ostream< _ChTy > &out)
 
template<typename _ChTy , typename _Ty , typename... _ArgType>
static void winux::OutputV (std::basic_ostream< _ChTy > &out, _Ty &&a, _ArgType &&...arg)
 
template<typename... _ArgType>
static void winux::ColorOutputLine (winux::ConsoleAttr const &ca, _ArgType &&...arg)
 
template<typename... _ArgType>
static void winux::ColorOutput (winux::ConsoleAttr const &ca, _ArgType &&...arg)
 
String winux::ConsoleTextLayout (String const &text, size_t maxLength, ConsoleTextLayoutAlignment align=ctlaLeft, String::value_type blankCh= ' ', bool isTrunc=true, size_t ellipsis=3)
 控制台文本布局,按指定长度输出文本。可以控制对齐方式,是否截断,截断省略号 更多...