This class provides a proxy to the test stream that is supplied to the BSLX_TESTINSTREAM_EXCEPTION_TEST_BEGIN macro. This proxy may be instantiated with TestInStream, or with a type that supports the same interface as TestInStream.
Declared in <bslx_testinstream.h>
template<class BSLX_STREAM_TYPE>
class TestInStream_Proxy
: public TestInStream_ProxyBase
| Name | Description |
|---|---|
TestInStream_ProxyBase | This class provides a common base class for the parameterized TestInStream_Proxy class (below). Note that the virtual setInputLimit method, although a "setter", must be declared const. |
| Name | Description |
|---|---|
TestInStream_Proxy [constructor] | Create a proxy for the specified stream. |
~TestInStream_Proxy [destructor] [virtual] | Destroy this object. |
setInputLimit [virtual] | Set the input limit on the proxied stream to the specified limit. |
| Name | Description |
|---|---|
TestInStream_getProxy | Return, by value, a test stream proxy for the specified parameterized stream. |