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

Public Member Functions

const UList< char > list () const
 
UList< char > list ()
 
label capacity () const
 
label size () const
 
void rewind ()
 

Protected Types

typedef std::ostream stream_type
 

Protected Member Functions

 UOListStreamAllocator (char *buffer, size_t nbytes)
 
void printBufInfo (Ostream &os) const
 

Protected Attributes

memorybuf::out buf_
 
stream_type stream_
 

Detailed Description

Definition at line 98 of file UOListStream.H.

Member Typedef Documentation

◆ stream_type

typedef std::ostream stream_type
protected

Definition at line 104 of file UOListStream.H.

Constructor & Destructor Documentation

◆ UOListStreamAllocator()

UOListStreamAllocator ( char *  buffer,
size_t  nbytes 
)
inlineprotected

Definition at line 116 of file UOListStream.H.

Member Function Documentation

◆ printBufInfo()

void printBufInfo ( Ostream os) const
inlineprotected

Definition at line 122 of file UOListStream.H.

References UOListStreamAllocator::buf_, os(), and memorybuf::out::printBufInfo().

Here is the call graph for this function:

◆ list() [1/2]

const UList<char> list ( ) const
inline

Definition at line 132 of file UOListStream.H.

References UOListStreamAllocator::buf_, and memorybuf::out::list().

Here is the call graph for this function:

◆ list() [2/2]

UList<char> list ( )
inline

Definition at line 138 of file UOListStream.H.

References UOListStreamAllocator::buf_, and memorybuf::out::list().

Here is the call graph for this function:

◆ capacity()

label capacity ( ) const
inline

Definition at line 144 of file UOListStream.H.

References UOListStreamAllocator::buf_, and memorybuf::out::capacity().

Here is the call graph for this function:

◆ size()

label size ( ) const
inline

Definition at line 151 of file UOListStream.H.

References UOListStreamAllocator::buf_, and memorybuf::out::tellp().

Here is the call graph for this function:

◆ rewind()

void rewind ( )
inline

Definition at line 157 of file UOListStream.H.

References UOListStreamAllocator::buf_, and UOListStreamAllocator::stream_.

Referenced by UOListStream::rewind().

Here is the caller graph for this function:

Member Data Documentation

◆ buf_

memorybuf::out buf_
protected

◆ stream_

stream_type stream_
protected

Definition at line 110 of file UOListStream.H.

Referenced by UOListStreamAllocator::rewind().


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