Public Member Functions | Protected Member Functions | List of all members
memorybuf::in Class Reference
Inheritance diagram for memorybuf::in:
Inheritance graph
[legend]
Collaboration diagram for memorybuf::in:
Collaboration graph
[legend]

Public Member Functions

 in (char *s, std::streamsize n)
 
void resetg (char *s, std::streamsize n)
 
std::streamsize capacity () const
 
const UList< char > list () const
 
UList< char > list ()
 
void printBufInfo (Ostream &os) const
 
std::streamsize tellg () const
 

Protected Member Functions

 in ()=default
 
virtual std::streamsize xsgetn (char *s, std::streamsize n)
 
- Protected Member Functions inherited from memorybuf
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

Definition at line 157 of file memoryStreamBuffer.H.

Constructor & Destructor Documentation

◆ in() [1/2]

in ( )
protecteddefault

◆ in() [2/2]

in ( char *  s,
std::streamsize  n 
)
inline

Definition at line 184 of file memoryStreamBuffer.H.

References n, memorybuf::in::resetg(), and s.

Here is the call graph for this function:

Member Function Documentation

◆ xsgetn()

virtual std::streamsize xsgetn ( char *  s,
std::streamsize  n 
)
inlineprotectedvirtual

Definition at line 167 of file memoryStreamBuffer.H.

References Foam::BitOps::count(), n, and s.

Here is the call graph for this function:

◆ resetg()

void resetg ( char *  s,
std::streamsize  n 
)
inline

Definition at line 191 of file memoryStreamBuffer.H.

References n, and s.

Referenced by memorybuf::in::in(), uiliststream::reset(), and UIListStreamAllocator::reset().

Here is the caller graph for this function:

◆ capacity()

std::streamsize capacity ( ) const
inline

Definition at line 207 of file memoryStreamBuffer.H.

Referenced by UIListStreamAllocator::size().

Here is the caller graph for this function:

◆ list() [1/2]

const UList<char> list ( ) const
inline

Definition at line 213 of file memoryStreamBuffer.H.

Referenced by UIListStreamAllocator::list().

Here is the caller graph for this function:

◆ list() [2/2]

UList<char> list ( )
inline

Definition at line 219 of file memoryStreamBuffer.H.

◆ printBufInfo()

void printBufInfo ( Ostream os) const
inline

Definition at line 225 of file memoryStreamBuffer.H.

References os().

Referenced by UIListStreamAllocator::printBufInfo().

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

◆ tellg()

std::streamsize tellg
inline

Definition at line 130 of file memoryStreamBuffer.H.

Referenced by UIListStreamAllocator::tellg().

Here is the caller graph for this function:

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