reflex::Input::dos_streambuf Class Reference

updated Tue Oct 29 2024 by Robert van Engelen
 
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
reflex::Input::dos_streambuf Class Reference

Stream buffer for reflex::Input to read DOS files, replaces CRLF by LF, derived from std::streambuf. More...

#include <input.h>

Inheritance diagram for reflex::Input::dos_streambuf:
Inheritance graph
[legend]
Collaboration diagram for reflex::Input::dos_streambuf:
Collaboration graph
[legend]

Public Member Functions

 dos_streambuf (const reflex::Input &input)
 

Protected Member Functions

virtual int_type underflow ()
 
virtual int_type uflow ()
 
virtual std::streamsize xsgetn (char *s, std::streamsize n)
 
virtual std::streamsize showmanyc ()
 
int get ()
 

Protected Attributes

Input input_
 
int ch1_
 
int ch2_
 

Detailed Description

Stream buffer for reflex::Input to read DOS files, replaces CRLF by LF, derived from std::streambuf.

Constructor & Destructor Documentation

reflex::Input::dos_streambuf::dos_streambuf ( const reflex::Input input)
inline

Member Function Documentation

int reflex::Input::dos_streambuf::get ( )
inlineprotected
virtual std::streamsize reflex::Input::dos_streambuf::showmanyc ( )
inlineprotectedvirtual
virtual int_type reflex::Input::dos_streambuf::uflow ( )
inlineprotectedvirtual
virtual int_type reflex::Input::dos_streambuf::underflow ( )
inlineprotectedvirtual
virtual std::streamsize reflex::Input::dos_streambuf::xsgetn ( char *  s,
std::streamsize  n 
)
inlineprotectedvirtual

Member Data Documentation

int reflex::Input::dos_streambuf::ch1_
protected
int reflex::Input::dos_streambuf::ch2_
protected
Input reflex::Input::dos_streambuf::input_
protected

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