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

An input stream that reads an array of characters in memory. More...

#include <utilities/memstream.h>

Inheritance diagram for regina::mem_istream:

Public Member Functions

 mem_istream (const char *begin, const char *end)
 Initialies an input stream that reads from the given array of characters. More...
 
 ~mem_istream () override
 Destructor. More...
 
 mem_istream (const mem_istream &)=delete
 
mem_istreamoperator= (const mem_istream &)=delete
 

Detailed Description

An input stream that reads an array of characters in memory.

This input stream does not take any responsibility for managing the memory that is read, and the caller should ensure that this memory remains allocated for at least as long as this input stream.

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_istream()

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

Initialies an input stream 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.

◆ ~mem_istream()

regina::mem_istream::~mem_istream ( )
inlineoverride

Destructor.

Note that this does not deallocate the array of characters being 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).