Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::FixedSizeRing< T, ChunkSize > Class Template Reference

Ordered collection of bounded size. More...

#include <FixedSizeRing.h>

Inherited by galois::worklists::internal::ChunkMaster< T, QT, Distributed, IsStack, ChunkSize, Concurrent >::Chunk, and galois::worklists::PerThreadChunkMaster< IsLocallyLIFO, ChunkSize, Container, T >::Chunk.

Public Types

typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef Iterator< T > iterator
 
typedef Iterator< const T > const_iterator
 
typedef
boost::reverse_iterator
< Iterator< T > > 
reverse_iterator
 
typedef
boost::reverse_iterator
< Iterator< const T > > 
const_reverse_iterator
 

Public Member Functions

 FixedSizeRing ()
 
template<typename InputIterator >
 FixedSizeRing (InputIterator first, InputIterator last)
 
 FixedSizeRing (const FixedSizeRing &o)=delete
 
FixedSizeRingoperator= (const FixedSizeRing &o)=delete
 
 ~FixedSizeRing ()
 
unsigned size () const
 
bool empty () const
 
bool full () const
 
reference getAt (unsigned x)
 
const_reference getAt (unsigned x) const
 
void clear ()
 
template<typename... Args>
pointer emplace (iterator pos, Args &&...args)
 
template<typename U >
pointer push_front (U &&val)
 
template<typename... Args>
pointer emplace_front (Args &&...args)
 
template<typename U >
pointer push_back (U &&val)
 
template<typename... Args>
pointer emplace_back (Args &&...args)
 
reference front ()
 
const_reference front () const
 
galois::optional< value_typeextract_front ()
 
void pop_front ()
 
reference back ()
 
const_reference back () const
 
galois::optional< value_typeextract_back ()
 
void pop_back ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_iterator rbegin () const
 
const_iterator rend () const
 

Detailed Description

template<typename T, unsigned ChunkSize = 64>
class galois::FixedSizeRing< T, ChunkSize >

Ordered collection of bounded size.

Member Typedef Documentation

template<typename T , unsigned ChunkSize = 64>
typedef Iterator<const T> galois::FixedSizeRing< T, ChunkSize >::const_iterator
template<typename T , unsigned ChunkSize = 64>
typedef const T& galois::FixedSizeRing< T, ChunkSize >::const_reference
template<typename T , unsigned ChunkSize = 64>
typedef boost::reverse_iterator<Iterator<const T> > galois::FixedSizeRing< T, ChunkSize >::const_reverse_iterator
template<typename T , unsigned ChunkSize = 64>
typedef Iterator<T> galois::FixedSizeRing< T, ChunkSize >::iterator
template<typename T , unsigned ChunkSize = 64>
typedef T* galois::FixedSizeRing< T, ChunkSize >::pointer
template<typename T , unsigned ChunkSize = 64>
typedef T& galois::FixedSizeRing< T, ChunkSize >::reference
template<typename T , unsigned ChunkSize = 64>
typedef boost::reverse_iterator<Iterator<T> > galois::FixedSizeRing< T, ChunkSize >::reverse_iterator
template<typename T , unsigned ChunkSize = 64>
typedef T galois::FixedSizeRing< T, ChunkSize >::value_type

Constructor & Destructor Documentation

template<typename T , unsigned ChunkSize = 64>
galois::FixedSizeRing< T, ChunkSize >::FixedSizeRing ( )
inline
template<typename T , unsigned ChunkSize = 64>
template<typename InputIterator >
galois::FixedSizeRing< T, ChunkSize >::FixedSizeRing ( InputIterator  first,
InputIterator  last 
)
inline
template<typename T , unsigned ChunkSize = 64>
galois::FixedSizeRing< T, ChunkSize >::FixedSizeRing ( const FixedSizeRing< T, ChunkSize > &  o)
delete
template<typename T , unsigned ChunkSize = 64>
galois::FixedSizeRing< T, ChunkSize >::~FixedSizeRing ( )
inline

Member Function Documentation

template<typename T , unsigned ChunkSize = 64>
reference galois::FixedSizeRing< T, ChunkSize >::back ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_reference galois::FixedSizeRing< T, ChunkSize >::back ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
iterator galois::FixedSizeRing< T, ChunkSize >::begin ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_iterator galois::FixedSizeRing< T, ChunkSize >::begin ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
void galois::FixedSizeRing< T, ChunkSize >::clear ( )
inline
template<typename T , unsigned ChunkSize = 64>
template<typename... Args>
pointer galois::FixedSizeRing< T, ChunkSize >::emplace ( iterator  pos,
Args &&...  args 
)
inline
template<typename T , unsigned ChunkSize = 64>
template<typename... Args>
pointer galois::FixedSizeRing< T, ChunkSize >::emplace_back ( Args &&...  args)
inline
template<typename T , unsigned ChunkSize = 64>
template<typename... Args>
pointer galois::FixedSizeRing< T, ChunkSize >::emplace_front ( Args &&...  args)
inline
template<typename T , unsigned ChunkSize = 64>
bool galois::FixedSizeRing< T, ChunkSize >::empty ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
iterator galois::FixedSizeRing< T, ChunkSize >::end ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_iterator galois::FixedSizeRing< T, ChunkSize >::end ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
galois::optional<value_type> galois::FixedSizeRing< T, ChunkSize >::extract_back ( )
inline
template<typename T , unsigned ChunkSize = 64>
galois::optional<value_type> galois::FixedSizeRing< T, ChunkSize >::extract_front ( )
inline
template<typename T , unsigned ChunkSize = 64>
reference galois::FixedSizeRing< T, ChunkSize >::front ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_reference galois::FixedSizeRing< T, ChunkSize >::front ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
bool galois::FixedSizeRing< T, ChunkSize >::full ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
reference galois::FixedSizeRing< T, ChunkSize >::getAt ( unsigned  x)
inline
template<typename T , unsigned ChunkSize = 64>
const_reference galois::FixedSizeRing< T, ChunkSize >::getAt ( unsigned  x) const
inline
template<typename T , unsigned ChunkSize = 64>
FixedSizeRing& galois::FixedSizeRing< T, ChunkSize >::operator= ( const FixedSizeRing< T, ChunkSize > &  o)
delete
template<typename T , unsigned ChunkSize = 64>
void galois::FixedSizeRing< T, ChunkSize >::pop_back ( )
inline
template<typename T , unsigned ChunkSize = 64>
void galois::FixedSizeRing< T, ChunkSize >::pop_front ( )
inline
template<typename T , unsigned ChunkSize = 64>
template<typename U >
pointer galois::FixedSizeRing< T, ChunkSize >::push_back ( U &&  val)
inline
template<typename T , unsigned ChunkSize = 64>
template<typename U >
pointer galois::FixedSizeRing< T, ChunkSize >::push_front ( U &&  val)
inline
template<typename T , unsigned ChunkSize = 64>
reverse_iterator galois::FixedSizeRing< T, ChunkSize >::rbegin ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_iterator galois::FixedSizeRing< T, ChunkSize >::rbegin ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
reverse_iterator galois::FixedSizeRing< T, ChunkSize >::rend ( )
inline
template<typename T , unsigned ChunkSize = 64>
const_iterator galois::FixedSizeRing< T, ChunkSize >::rend ( ) const
inline
template<typename T , unsigned ChunkSize = 64>
unsigned galois::FixedSizeRing< T, ChunkSize >::size ( ) const
inline

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