tudocomp
– The TU Dortmund Compression Framework
tdc::io::RestrictedIStreamBuf Class Reference

Adapter class over a std::istream that escapes and null terminates the data read from it according to the provided input restrictions. More...

#include <RestrictedIOStream.hpp>

Inheritance diagram for tdc::io::RestrictedIStreamBuf:

Public Member Functions

 RestrictedIStreamBuf (std::istream &stream, InputRestrictions restrictions)
 
 RestrictedIStreamBuf ()=delete
 
 RestrictedIStreamBuf (const RestrictedIStreamBuf &other)=delete
 
 RestrictedIStreamBuf (RestrictedIStreamBuf &&other)=delete
 
virtual ~RestrictedIStreamBuf ()
 

Protected Member Functions

virtual int underflow () override
 
virtual int uflow () override
 

Detailed Description

Adapter class over a std::istream that escapes and null terminates the data read from it according to the provided input restrictions.

Definition at line 94 of file RestrictedIOStream.hpp.

Constructor & Destructor Documentation

◆ RestrictedIStreamBuf() [1/4]

tdc::io::RestrictedIStreamBuf::RestrictedIStreamBuf ( std::istream &  stream,
InputRestrictions  restrictions 
)
inline

Definition at line 128 of file RestrictedIOStream.hpp.

◆ RestrictedIStreamBuf() [2/4]

tdc::io::RestrictedIStreamBuf::RestrictedIStreamBuf ( )
inlinedelete

◆ RestrictedIStreamBuf() [3/4]

tdc::io::RestrictedIStreamBuf::RestrictedIStreamBuf ( const RestrictedIStreamBuf other)
inlinedelete

◆ RestrictedIStreamBuf() [4/4]

tdc::io::RestrictedIStreamBuf::RestrictedIStreamBuf ( RestrictedIStreamBuf &&  other)
inlinedelete

◆ ~RestrictedIStreamBuf()

virtual tdc::io::RestrictedIStreamBuf::~RestrictedIStreamBuf ( )
inlinevirtual

Definition at line 139 of file RestrictedIOStream.hpp.

Member Function Documentation

◆ uflow()

virtual int tdc::io::RestrictedIStreamBuf::uflow ( )
inlineoverrideprotectedvirtual

Definition at line 146 of file RestrictedIOStream.hpp.

◆ underflow()

virtual int tdc::io::RestrictedIStreamBuf::underflow ( )
inlineoverrideprotectedvirtual

Definition at line 143 of file RestrictedIOStream.hpp.


The documentation for this class was generated from the following file: