A streambuf for memory. More...
Classes | |
class | in |
An input streambuf for memory access. More... | |
class | out |
An output streambuf for memory access. More... | |
Protected Member Functions | |
virtual std::streampos | seekoff (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out) |
Set position pointer to relative position. More... | |
virtual std::streampos | seekpos (std::streampos pos, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out) |
Set position pointer to absolute position. More... | |
std::streamsize | tellg () const |
std::streamsize | tellp () const |
A streambuf for memory.
A std::streambuf used for memory buffer streams such as UIListStream, UOListStream, etc.
Definition at line 47 of file memoryStreamBuffer.H.
|
inlineprotectedvirtual |
Set position pointer to relative position.
Definition at line 57 of file memoryStreamBuffer.H.
References stdFoam::end().
Referenced by memorybuf::seekpos().
|
inlineprotectedvirtual |
Set position pointer to absolute position.
Definition at line 121 of file memoryStreamBuffer.H.
References Foam::pos(), and memorybuf::seekoff().
|
inlineprotected |
Definition at line 133 of file memoryStreamBuffer.H.
|
inlineprotected |
Definition at line 141 of file memoryStreamBuffer.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.