Set the number of remaining input operations before an exception.
Synopsis
Declared in <bslx_testinstream.h>
void
setInputLimit(int limit);
Description
Set the number of input operations allowed on this stream to the specified limit before an exception is thrown. If limit is less than 0, no exception is to be thrown. By default, no exception is scheduled.
Parameters
Name |
Description |
limit |
remaining input operations before an exception; negative disables exceptions |
Created with MrDocs