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

Adapter class over a std::ostream that reverse the escaping and null termination of data written to it according to the provided input restrictions. More...

#include <RestrictedIOStream.hpp>

Inheritance diagram for tdc::io::RestrictedOStreamBuf:

Public Member Functions

 RestrictedOStreamBuf (std::ostream &stream, const InputRestrictions &restrictions)
 
 RestrictedOStreamBuf ()=delete
 
 RestrictedOStreamBuf (const RestrictedOStreamBuf &other)=delete
 
 RestrictedOStreamBuf (RestrictedOStreamBuf &&other)=delete
 
virtual ~RestrictedOStreamBuf ()
 

Protected Member Functions

virtual int overflow (int ch) override
 

Detailed Description

Adapter class over a std::ostream that reverse the escaping and null termination of data written to it according to the provided input restrictions.

Definition at line 13 of file RestrictedIOStream.hpp.

Constructor & Destructor Documentation

◆ RestrictedOStreamBuf() [1/4]

tdc::io::RestrictedOStreamBuf::RestrictedOStreamBuf ( std::ostream &  stream,
const InputRestrictions restrictions 
)
inline

Definition at line 64 of file RestrictedIOStream.hpp.

◆ RestrictedOStreamBuf() [2/4]

tdc::io::RestrictedOStreamBuf::RestrictedOStreamBuf ( )
inlinedelete

◆ RestrictedOStreamBuf() [3/4]

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

◆ RestrictedOStreamBuf() [4/4]

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

◆ ~RestrictedOStreamBuf()

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

Definition at line 73 of file RestrictedIOStream.hpp.

Member Function Documentation

◆ overflow()

virtual int tdc::io::RestrictedOStreamBuf::overflow ( int  ch)
inlineoverrideprotectedvirtual

Definition at line 80 of file RestrictedIOStream.hpp.


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