__gnu_cxx::balloc::_Ffit_finder< _Tp > Class Template Reference

The class which acts as a predicate for applying the first-fit memory allocation policy for the bitmap allocator. More...

#include <bitmap_allocator.h>

Inheritance diagram for __gnu_cxx::balloc::_Ffit_finder< _Tp >:

std::unary_function< std::pair< _Tp, _Tp >, bool > List of all members.

Public Member Functions

 _Ffit_finder ()
bool operator() (_Block_pair __bp) throw ()
size_t * _M_get () const throw ()
_Counter_type _M_offset () const throw ()

Private Types

typedef std::pair< _Tp, _Tp > _Block_pair
typedef balloc::__mini_vector<
_Block_pair
_BPVector
typedef _BPVector::difference_type _Counter_type

Private Attributes

size_t * _M_pbitmap
_Counter_type _M_data_offset

Detailed Description

template<typename _Tp>
class __gnu_cxx::balloc::_Ffit_finder< _Tp >

The class which acts as a predicate for applying the first-fit memory allocation policy for the bitmap allocator.

Definition at line 516 of file bitmap_allocator.h.


Member Typedef Documentation

template<typename _Tp>
typedef std::pair<_Tp, _Tp> __gnu_cxx::balloc::_Ffit_finder< _Tp >::_Block_pair [private]

Definition at line 519 of file bitmap_allocator.h.

template<typename _Tp>
typedef balloc::__mini_vector<_Block_pair> __gnu_cxx::balloc::_Ffit_finder< _Tp >::_BPVector [private]

Definition at line 520 of file bitmap_allocator.h.

template<typename _Tp>
typedef _BPVector::difference_type __gnu_cxx::balloc::_Ffit_finder< _Tp >::_Counter_type [private]

Definition at line 521 of file bitmap_allocator.h.


Constructor & Destructor Documentation

template<typename _Tp>
__gnu_cxx::balloc::_Ffit_finder< _Tp >::_Ffit_finder (  )  [inline]

Definition at line 527 of file bitmap_allocator.h.


Member Function Documentation

template<typename _Tp>
size_t* __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_get (  )  const throw () [inline]

Definition at line 568 of file bitmap_allocator.h.

References __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_pbitmap.

template<typename _Tp>
_Counter_type __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_offset (  )  const throw () [inline]

Definition at line 572 of file bitmap_allocator.h.

References __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_data_offset, and __gnu_cxx::balloc::bits_per_block.

template<typename _Tp>
bool __gnu_cxx::balloc::_Ffit_finder< _Tp >::operator() ( _Block_pair  __bp  )  throw () [inline]

Definition at line 531 of file bitmap_allocator.h.

References __gnu_cxx::balloc::__num_bitmaps(), __gnu_cxx::balloc::__num_blocks(), __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_data_offset, and __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_pbitmap.


Member Data Documentation

template<typename _Tp>
_Counter_type __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_data_offset [private]

Definition at line 524 of file bitmap_allocator.h.

Referenced by __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_offset(), and __gnu_cxx::balloc::_Ffit_finder< _Tp >::operator()().

template<typename _Tp>
size_t* __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_pbitmap [private]

Definition at line 523 of file bitmap_allocator.h.

Referenced by __gnu_cxx::balloc::_Ffit_finder< _Tp >::_M_get(), and __gnu_cxx::balloc::_Ffit_finder< _Tp >::operator()().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:58:11 2010 for GNU C++ STL by  doxygen 1.4.7