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

Public Member Functions

std::streamsize size () const
 
void rewind ()
 

Protected Types

typedef std::ostream stream_type
 

Protected Member Functions

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

Protected Attributes

countstreambuf buf_
 
stream_type stream_
 

Detailed Description

Definition at line 191 of file OCountStream.H.

Member Typedef Documentation

◆ stream_type

typedef std::ostream stream_type
protected

Definition at line 197 of file OCountStream.H.

Constructor & Destructor Documentation

◆ OCountStreamAllocator()

OCountStreamAllocator ( std::streamsize  precount = 0)
inlineprotected

Definition at line 209 of file OCountStream.H.

Member Function Documentation

◆ printBufInfo()

void printBufInfo ( Ostream os) const
inlineprotected

Definition at line 218 of file OCountStream.H.

References OCountStreamAllocator::buf_, os(), and countstreambuf::printBufInfo().

Here is the call graph for this function:

◆ size()

std::streamsize size ( ) const
inline

Definition at line 228 of file OCountStream.H.

References OCountStreamAllocator::buf_, and countstreambuf::tellp().

Here is the call graph for this function:

◆ rewind()

void rewind ( )
inline

Definition at line 234 of file OCountStream.H.

References OCountStreamAllocator::buf_, and OCountStreamAllocator::stream_.

Referenced by OCountStream::rewind().

Here is the caller graph for this function:

Member Data Documentation

◆ buf_

countstreambuf buf_
protected

◆ stream_

stream_type stream_
protected

Definition at line 203 of file OCountStream.H.

Referenced by OCountStreamAllocator::rewind().


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