[#BloombergLP-bslx-TestInStream_Proxy] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::TestInStream_Proxy :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class BSLX_STREAM_TYPE> class TestInStream_Proxy : public xref:BloombergLP/bslx/TestInStream_ProxyBase.adoc[TestInStream_ProxyBase] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bslx/TestInStream_ProxyBase.adoc[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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslx/TestInStream_Proxy/2constructor.adoc[`TestInStream_Proxy`] [.small]#[constructor]# | Create a proxy for the specified `stream`. | xref:BloombergLP/bslx/TestInStream_Proxy/2destructor.adoc[`~TestInStream_Proxy`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this object. | xref:BloombergLP/bslx/TestInStream_Proxy/setInputLimit.adoc[`setInputLimit`] [.small]#[virtual]# | Set the input limit on the proxied stream to the specified `limit`. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslx/TestInStream_getProxy.adoc[`TestInStream_getProxy`] | Return, by value, a test stream proxy for the specified parameterized `stream`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#