OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TTmpBufferBase Class Reference

Static temporary fixed buffer, provides fast temporary buffer, for use in functions. More...

#include <owl/private/memory.h>

Inheritance diagram for owl::TTmpBufferBase:
owl::TTmpBuffer< T >

Protected Member Functions

 TTmpBufferBase (int size)
 ~TTmpBufferBase ()

Protected Attributes

void * Buffer
int Index

Detailed Description

Static temporary fixed buffer, provides fast temporary buffer, for use in functions.

For example:

GetWindowDirectory(buffer,MAX_PATH);
#define MAX_PATH
Definition cygwin.h:98

Definition at line 285 of file memory.h.

Constructor & Destructor Documentation

◆ TTmpBufferBase()

owl::TTmpBufferBase::TTmpBufferBase ( int size)
protected

Definition at line 177 of file memory.cpp.

References TTmpBufferBase(), Buffer, COUNTOF, Index, and PRECONDITION.

◆ ~TTmpBufferBase()

owl::TTmpBufferBase::~TTmpBufferBase ( )
protected

Definition at line 200 of file memory.cpp.

References ~TTmpBufferBase(), Buffer, and Index.

Member Data Documentation

◆ Buffer

void* owl::TTmpBufferBase::Buffer
protected

Definition at line 291 of file memory.h.

◆ Index

int owl::TTmpBufferBase::Index
protected

Definition at line 292 of file memory.h.


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