OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TMBaseMemBlocks< A > Class Template Reference

template <class A> class TMBaseMemBlocks Used internally. More...

#include <owl/template.h>

Public Member Functions

 TMBaseMemBlocks (size_t=8192)
 
 ~TMBaseMemBlocks ()
 
charBlock () const
 
unsigned Count () const
 
int AllocBlock (size_t)
 
void FreeTo (unsigned)
 
size_t GetBlockSize () const
 

Detailed Description

template<class A>
class owl::TMBaseMemBlocks< A >

template <class A> class TMBaseMemBlocks Used internally.

Definition at line 252 of file template.h.

Constructor & Destructor Documentation

◆ TMBaseMemBlocks()

template<class A >
owl::TMBaseMemBlocks< A >::TMBaseMemBlocks ( size_t sz = 8192)
inline

Definition at line 277 of file template.h.

References CHECK.

◆ ~TMBaseMemBlocks()

template<class A >
owl::TMBaseMemBlocks< A >::~TMBaseMemBlocks ( )
inline

Definition at line 283 of file template.h.

Member Function Documentation

◆ AllocBlock()

template<class A >
int owl::TMBaseMemBlocks< A >::AllocBlock ( size_t sz)

Definition at line 290 of file template.h.

◆ Block()

template<class A >
char * owl::TMBaseMemBlocks< A >::Block ( ) const
inline

Definition at line 261 of file template.h.

References REINTERPRET_CAST.

◆ Count()

template<class A >
unsigned owl::TMBaseMemBlocks< A >::Count ( ) const
inline

Definition at line 262 of file template.h.

◆ FreeTo()

template<class A >
void owl::TMBaseMemBlocks< A >::FreeTo ( unsigned term)

Definition at line 299 of file template.h.

References PRECONDITION.

◆ GetBlockSize()

template<class A >
size_t owl::TMBaseMemBlocks< A >::GetBlockSize ( ) const
inline

Definition at line 265 of file template.h.


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