library of assembled shared sources |
http://lass.cocamware.com |
#include <proxy_man.h>
Public Member Functions | |
ProxyMan () | |
ProxyOStream * | cout () |
return pointer to 'cout' proxy. | |
ProxyOStream * | cerr () |
return pointer to 'cerr' proxy. | |
ProxyOStream * | clog () |
return pointer to 'clog' proxy. | |
ProxyIStream * | cin () |
return pointer to 'cin' proxy. | |
Private Attributes | |
ProxyOStream | cout_ |
ProxyOStream | cerr_ |
ProxyOStream | clog_ |
ProxyIStream | cin_ |
ProxyMan is a singleton, you can access it through ProxyMan::instance() or proxyMan(), both returning a pointer to the singleton.
The four proxy streams are created on first access of the ProxyMan singleton or any of its proxy streams and are automatically redirected to std::cout, std::cerr, std::clog and std::cin respectively.
Definition at line 84 of file proxy_man.h.
lass::io::ProxyMan::ProxyMan | ( | ) |
Definition at line 52 of file proxy_man.cpp.
ProxyOStream * lass::io::ProxyMan::cout | ( | ) |
return pointer to 'cout' proxy.
Definition at line 64 of file proxy_man.cpp.
References cout_.
Referenced by lass::io::cout().
ProxyOStream * lass::io::ProxyMan::cerr | ( | ) |
return pointer to 'cerr' proxy.
Definition at line 73 of file proxy_man.cpp.
References cerr_.
Referenced by lass::io::cerr().
ProxyOStream * lass::io::ProxyMan::clog | ( | ) |
return pointer to 'clog' proxy.
Definition at line 82 of file proxy_man.cpp.
References clog_.
Referenced by lass::io::clog().
ProxyIStream * lass::io::ProxyMan::cin | ( | ) |
return pointer to 'cin' proxy.
Definition at line 91 of file proxy_man.cpp.
References cin_.
Referenced by lass::io::cin().
ProxyOStream lass::io::ProxyMan::cout_ [private] |
ProxyOStream lass::io::ProxyMan::cerr_ [private] |
ProxyOStream lass::io::ProxyMan::clog_ [private] |
ProxyIStream lass::io::ProxyMan::cin_ [private] |
Generated on Mon Nov 10 14:22:09 2008 for Library of Assembled Shared Sources by 1.5.7.1 |