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

Public Member Functions

 countstreambuf (std::streamsize precount=0)
 
std::streamsize tellp () const
 
void printBufInfo (Ostream &os) const
 

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)
 
virtual int overflow (int c=EOF)
 
virtual std::streamsize xsputn (const char *s, std::streamsize n)
 

Detailed Description

Definition at line 45 of file OCountStream.H.

Constructor & Destructor Documentation

◆ countstreambuf()

countstreambuf ( std::streamsize  precount = 0)
inlineexplicit

Definition at line 118 of file OCountStream.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 56 of file OCountStream.H.

References stdFoam::end().

Referenced by countstreambuf::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 87 of file OCountStream.H.

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

Here is the call graph for this function:

◆ overflow()

virtual int overflow ( int  c = EOF)
inlineprotectedvirtual

Definition at line 97 of file OCountStream.H.

References Foam::constant::universal::c.

◆ xsputn()

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

Definition at line 108 of file OCountStream.H.

References n.

◆ tellp()

std::streamsize tellp ( ) const
inline

Definition at line 124 of file OCountStream.H.

Referenced by ocountstream::size(), and OCountStreamAllocator::size().

Here is the caller graph for this function:

◆ printBufInfo()

void printBufInfo ( Ostream os) const
inline

Definition at line 130 of file OCountStream.H.

References os().

Referenced by OCountStreamAllocator::printBufInfo().

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

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