GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::_LoserTreePointerBase< _Tp, _Compare > Class Template Reference

Base class of _Loser Tree implementation using pointers. More...

#include <losertree.h>

Inheritance diagram for __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >:
Collaboration diagram for __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >:

Classes

struct  _Loser
 Internal representation of _LoserTree __elements. More...
 

Public Member Functions

 _LoserTreePointerBase (unsigned int __k, _Compare __comp=std::less< _Tp >())
 
 ~_LoserTreePointerBase ()
 
int __get_min_source ()
 
void __insert_start (const _Tp &__key, int __source, bool __sup)
 

Protected Attributes

_Compare _M_comp
 
unsigned int _M_ik
 
unsigned int _M_k
 
_Loser_M_losers
 
unsigned int _M_offset
 

Detailed Description

template<typename _Tp, typename _Compare>
class __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >

Base class of _Loser Tree implementation using pointers.

Constructor & Destructor Documentation

template<typename _Tp , typename _Compare >
__gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_LoserTreePointerBase ( unsigned int  __k,
_Compare  __comp = std::less<_Tp>() 
)
inline

References __gnu_parallel::__rd_log2(), and __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_k.

Here is the call graph for this function:

template<typename _Tp , typename _Compare >
__gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::~_LoserTreePointerBase ( )
inline

Member Function Documentation

template<typename _Tp , typename _Compare >
int __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::__get_min_source ( )
inline
template<typename _Tp , typename _Compare >
void __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::__insert_start ( const _Tp &  __key,
int  __source,
bool  __sup 
)
inline

Member Data Documentation

template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_ik
protected
template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_k
protected
template<typename _Tp , typename _Compare >
_Loser* __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_losers
protected
template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_offset
protected

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