Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

_DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true > Class Template Reference
[Classes and types for internal use]

Directed graph base class specialization for instanceless allocators. More...

#include <vgtl_dagbase.h>

Collaboration diagram for _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >:

Collaboration graph
[legend]
List of all members.

Protected Methods

_DG_node< _Tp, _Ctr, _I > * _C_get_node ()
void _C_put_node (_DG_node< _Tp, _Ctr, _I > *__p)

Protected Attributes

_DG_node< _Tp, _Ctr, _I > * _C_ground
_DG_node< _Tp, _Ctr, _I > * _C_sky
int _C_mark

Detailed Description

template<class _Tp, class _Ctr, class _I, class _Allocator>
class _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >

Base directed graph class that encapsulates details of allocators. Three cases: an ordinary standard-conforming allocator, a standard-conforming allocator with no non-static data, and an SGI-style allocator. This complexity is necessary only because we're worrying about STL compatibility and because we want to avoid wasting storage on an allocator instance if it isn't necessary. Base class specialization for instanceless allocators.

Definition at line 226 of file vgtl_dagbase.h.


Member Function Documentation

template<class _Tp, class _Ctr, class _I, class _Allocator>
_DG_node<_Tp,_Ctr,_I>* _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >::_C_get_node   [inline, protected]
 

allocate a new node

Definition at line 238 of file vgtl_dagbase.h.

template<class _Tp, class _Ctr, class _I, class _Allocator>
void _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >::_C_put_node _DG_node< _Tp, _Ctr, _I > *    __p [inline, protected]
 

deallocate a node

Definition at line 241 of file vgtl_dagbase.h.


Member Data Documentation

template<class _Tp, class _Ctr, class _I, class _Allocator>
_DG_node<_Tp,_Ctr,_I>* _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >::_C_ground [protected]
 

This is the virtual node ground (below all roots)

Definition at line 246 of file vgtl_dagbase.h.

template<class _Tp, class _Ctr, class _I, class _Allocator>
int _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >::_C_mark [protected]
 

internal counter for various algorithms

Definition at line 250 of file vgtl_dagbase.h.

template<class _Tp, class _Ctr, class _I, class _Allocator>
_DG_node<_Tp,_Ctr,_I>* _DG_alloc_base< _Tp, _Ctr, _I, _Allocator, true >::_C_sky [protected]
 

This is the virtual node sky (above all leafs)

Definition at line 248 of file vgtl_dagbase.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:41:34 2003 for Vienna Graph Template Library by doxygen1.2.18