Regina 7.3 Calculation Engine
Public Member Functions | Protected Member Functions | List of all members
regina::mem_streambuf Class Reference

A stream buffer that provides the implementation details for mem_istream. More...

#include <utilities/memstream.h>

Inheritance diagram for regina::mem_streambuf:

Public Member Functions

 mem_streambuf (const char *begin, const char *end)
 Initialies a read-only stream buffer that reads from the given array of characters. More...
 
 mem_streambuf (const mem_streambuf &)=delete
 
mem_streambufoperator= (const mem_streambuf &)=delete
 

Protected Member Functions

int_type underflow () override
 
int_type uflow () override
 
int_type pbackfail (int_type ch) override
 
std::streamsize xsgetn (char *s, std::streamsize n) override
 
std::streamsize showmanyc () override
 
pos_type seekpos (pos_type pos, std::ios_base::openmode which) override
 
pos_type seekoff (off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which) override
 

Detailed Description

A stream buffer that provides the implementation details for mem_istream.

End users should not use this class, but should use mem_istream instead. The API for this class is subject to change in future versions of Regina.

Python
Not present.

Constructor & Destructor Documentation

◆ mem_streambuf()

regina::mem_streambuf::mem_streambuf ( const char *  begin,
const char *  end 
)
inline

Initialies a read-only stream buffer that reads from the given array of characters.

Parameters
begina pointer to the beginning of the array to read.
enda pointer past-the-end of the array to read.

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

Copyright © 1999-2023, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).