Classes | Protected Member Functions | List of all members
memorybuf Class Reference

A std::streambuf used for memory buffer streams such as UIListStream, UOListStream, etc. More...

Inheritance diagram for memorybuf:
Inheritance graph
[legend]
Collaboration diagram for memorybuf:
Collaboration graph
[legend]

Classes

class  in
 
class  out
 

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)
 
virtual std::streampos seekpos (std::streampos pos, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out)
 
std::streamsize tellg () const
 
std::streamsize tellp () const
 

Detailed Description

A std::streambuf used for memory buffer streams such as UIListStream, UOListStream, etc.

Definition at line 50 of file memoryStreamBuffer.H.

Member Function Documentation

◆ seekoff()

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 
)
inlineprotectedvirtual

Definition at line 58 of file memoryStreamBuffer.H.

References stdFoam::end().

Referenced by memorybuf::seekpos().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ seekpos()

virtual std::streampos seekpos ( std::streampos  pos,
std::ios_base::openmode  which = std::ios_base::in|std::ios_base::out 
)
inlineprotectedvirtual

Definition at line 120 of file memoryStreamBuffer.H.

References Foam::pos(), and memorybuf::seekoff().

Here is the call graph for this function:

◆ tellg()

std::streamsize tellg ( ) const
inlineprotected

Definition at line 130 of file memoryStreamBuffer.H.

◆ tellp()

std::streamsize tellp ( ) const
inlineprotected

Definition at line 136 of file memoryStreamBuffer.H.


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