Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap > Class Template Reference

#include <bucket_sorter.hpp>

Inheritance diagram for boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >:
Collaboration diagram for boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >:

Classes

class  stack
 

Public Types

typedef BucketType bucket_type
 
typedef ValueType value_type
 
typedef std::vector
< value_type >::size_type 
size_type
 
typedef std::vector< size_type >
::iterator 
Iter
 
typedef std::vector
< value_type >::iterator 
IndexValueMap
 

Public Member Functions

 bucket_sorter (size_type _length, bucket_type _max_bucket, const Bucket &_bucket=Bucket(), const ValueIndexMap &_id=ValueIndexMap())
 
void remove (const value_type &x)
 
void push (const value_type &x)
 
void update (const value_type &x)
 
stack operator[] (const bucket_type &i)
 

Static Public Member Functions

static size_type invalid_value ()
 

Protected Attributes

std::vector< size_typehead
 
std::vector< size_typenext
 
std::vector< size_typeprev
 
std::vector< value_typeid_to_value
 
Bucket bucket
 
ValueIndexMap id
 

Friends

class stack
 

Member Typedef Documentation

template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
typedef BucketType boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::bucket_type
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
typedef std::vector<value_type>::iterator boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::IndexValueMap
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
typedef std::vector<size_type>::iterator boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::Iter
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
typedef std::vector<value_type>::size_type boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::size_type
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
typedef ValueType boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::value_type

Constructor & Destructor Documentation

template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::bucket_sorter ( size_type  _length,
bucket_type  _max_bucket,
const Bucket &  _bucket = Bucket(),
const ValueIndexMap &  _id = ValueIndexMap() 
)
inline

Member Function Documentation

template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
stack boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::operator[] ( const bucket_type i)
inline
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
void boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::push ( const value_type x)
inline
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
void boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::remove ( const value_type x)
inline
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
void boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::update ( const value_type x)
inline

Friends And Related Function Documentation

template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
friend class stack
friend

Member Data Documentation

template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
Bucket boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::bucket
protected
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
std::vector<size_type> boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::head
protected
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
ValueIndexMap boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::id
protected
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
std::vector<value_type> boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::id_to_value
protected
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
std::vector<size_type> boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::next
protected
template<class BucketType, class ValueType, class Bucket, class ValueIndexMap>
std::vector<size_type> boost::bucket_sorter< BucketType, ValueType, Bucket, ValueIndexMap >::prev
protected

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