library of assembled shared sources |
http://lass.cocamware.com |
#include <proxy_o_stream.h>
Public Member Functions | |
Lock (ProxyOStream *iProxy, TMask iMessage) | |
Lock (or don't lock if iProxy == 0) a proxy. | |
Lock (const ProxyOStream::Lock &iOther) | |
The copy constructor passes the lock on the proxy to the copy. | |
~Lock () | |
On the end of the lock, flush the proxy. | |
template<typename T > | |
Lock & | operator<< (const T &iIn) |
distribute input over all destination streams. | |
Lock & | operator<< (std::ostream &(*iIn)(std::ostream &)) |
distribute std manipulators over all destination streams. | |
Private Member Functions | |
Lock & | operator= (const Lock &) |
Private Attributes | |
ProxyOStream * | proxy_ |
TMask | messageMask_ |
Definition at line 103 of file proxy_o_stream.h.
lass::io::ProxyOStream::Lock::Lock | ( | ProxyOStream * | iProxy, | |
TMask | iMessage | |||
) | [inline] |
lass::io::ProxyOStream::Lock::Lock | ( | const ProxyOStream::Lock & | iOther | ) | [inline] |
The copy constructor passes the lock on the proxy to the copy.
The pointer is passed to the copy, so that this copy can continue the job of the original. Since the original looses it's proxy pointer, it won't flush it on destruction.
Definition at line 117 of file proxy_o_stream.h.
References messageMask_, and proxy_.
lass::io::ProxyOStream::Lock::~Lock | ( | ) | [inline] |
Lock& lass::io::ProxyOStream::Lock::operator<< | ( | const T & | iIn | ) | [inline] |
distribute input over all destination streams.
Only distribute input if it's still locking a proxy (i.e. if proxy_ != Null).
Definition at line 137 of file proxy_o_stream.h.
References lass::util::checkMaskedSome(), and LASS_ENFORCE_STREAM.
Lock& lass::io::ProxyOStream::Lock::operator<< | ( | std::ostream &(*)(std::ostream &) | iIn | ) | [inline] |
distribute std manipulators over all destination streams.
Only distribute input if it's still locking a proxy (i.e. if proxy_ != Null).
Definition at line 156 of file proxy_o_stream.h.
References lass::util::checkMaskedSome(), and LASS_ENFORCE_STREAM.
ProxyOStream* lass::io::ProxyOStream::Lock::proxy_ [mutable, private] |
TMask lass::io::ProxyOStream::Lock::messageMask_ [mutable, private] |
Generated on Mon Nov 10 14:22:09 2008 for Library of Assembled Shared Sources by 1.5.7.1 |