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.

Synopsis

Declared in <bslx_testinstream.h>

template<class BSLX_STREAM_TYPE>
class TestInStream_Proxy
    : public TestInStream_ProxyBase

Base Classes

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.

Member Functions

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.

Non-Member Functions

Name

Description

TestInStream_getProxy

Return, by value, a test stream proxy for the specified parameterized stream.

Created with MrDocs