out.h
来自「About: Paco (pacKAGE oRGANIZER) is a si」· C头文件 代码 · 共 59 行
H
59 行
//=======================================================================// Out.h//-----------------------------------------------------------------------// This file is part of the package paco// Copyright (C) 2004-2007 David Rosal <david.3r@gmail.com>// For more information visit http://paco.sourceforge.net//=======================================================================#ifndef PACO_OUT_H#define PACO_OUT_H#include <iosfwd>namespace Paco {class Out{ public: enum { QUIET, VERBOSE, DEBUG }; Out(); int& verbosity() { return mVerbosity; } static int screenWidth(); void vrb(std::string const&, int __errno = 0); void dbg(std::string const&, bool printProgName = true); void dbgTitle(std::string const& title); class Silencer { public: Silencer(); ~Silencer(); private: int mOldVerbosity; }; private: int mVerbosity;};} // namespace Paco#endif // PACO_OUT_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?