oasys::ScratchBuffer< _memory_t, 0 > Class Template Reference

#include <ScratchBuffer.h>

Inheritance diagram for oasys::ScratchBuffer< _memory_t, 0 >:

oasys::ExpandableBuffer

List of all members.


Detailed Description

template<typename _memory_t>
class oasys::ScratchBuffer< _memory_t, 0 >

ScratchBuffer class that doesn't use a static stack to begin with.

Definition at line 45 of file ScratchBuffer.h.


Public Member Functions

 ScratchBuffer (size_t size=0)
 ScratchBuffer (const ScratchBuffer &other)
_memory_t buf (size_t size=0)
 
Returns:
Pointer of buffer of size, otherwise 0

const _memory_t buf () const
 
Returns:
Read-only pointer to buffer


Constructor & Destructor Documentation

template<typename _memory_t>
oasys::ScratchBuffer< _memory_t, 0 >::ScratchBuffer ( size_t  size = 0  )  [inline]

Definition at line 47 of file ScratchBuffer.h.

template<typename _memory_t>
oasys::ScratchBuffer< _memory_t, 0 >::ScratchBuffer ( const ScratchBuffer< _memory_t, 0 > &  other  )  [inline]

Definition at line 48 of file ScratchBuffer.h.


Member Function Documentation

template<typename _memory_t>
_memory_t oasys::ScratchBuffer< _memory_t, 0 >::buf ( size_t  size = 0  )  [inline]

Returns:
Pointer of buffer of size, otherwise 0

Definition at line 51 of file ScratchBuffer.h.

References oasys::ExpandableBuffer::buf_, oasys::ExpandableBuffer::buf_len_, and oasys::ScratchBuffer< _memory_t, _static_size >::reserve().

template<typename _memory_t>
const _memory_t oasys::ScratchBuffer< _memory_t, 0 >::buf (  )  const [inline]

Returns:
Read-only pointer to buffer

Definition at line 59 of file ScratchBuffer.h.

References oasys::ExpandableBuffer::buf_.


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:36:26 2007 for DTN Reference Implementation by  doxygen 1.5.3