Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::worklists::ExternalReference< Container, IgnorePushInitial > Class Template Reference

#include <ExternalReference.h>

Public Types

template<typename _T >
using retype = ExternalReference< typename Container::template retype< _T >>
 change the type the worklist holds More...
 
typedef Container::value_type value_type
 T is the value type of the WL. More...
 

Public Member Functions

 ExternalReference (Container &_wl)
 
void push (const value_type &val)
 push a value onto the queue More...
 
template<typename Iter >
void push (Iter b, Iter e)
 push a range onto the queue More...
 
template<typename RangeTy >
void push_initial (const RangeTy &r)
 push initial range onto the queue called with the same b and e on each thread More...
 
galois::optional< value_typepop ()
 pop a value from the queue. More...
 

Member Typedef Documentation

template<typename Container , bool IgnorePushInitial = false>
template<typename _T >
using galois::worklists::ExternalReference< Container, IgnorePushInitial >::retype = ExternalReference<typename Container::template retype<_T>>

change the type the worklist holds

template<typename Container , bool IgnorePushInitial = false>
typedef Container::value_type galois::worklists::ExternalReference< Container, IgnorePushInitial >::value_type

T is the value type of the WL.

Constructor & Destructor Documentation

template<typename Container , bool IgnorePushInitial = false>
galois::worklists::ExternalReference< Container, IgnorePushInitial >::ExternalReference ( Container &  _wl)
inline

Member Function Documentation

template<typename Container , bool IgnorePushInitial = false>
galois::optional<value_type> galois::worklists::ExternalReference< Container, IgnorePushInitial >::pop ( void  )
inline

pop a value from the queue.

template<typename Container , bool IgnorePushInitial = false>
void galois::worklists::ExternalReference< Container, IgnorePushInitial >::push ( const value_type val)
inline

push a value onto the queue

template<typename Container , bool IgnorePushInitial = false>
template<typename Iter >
void galois::worklists::ExternalReference< Container, IgnorePushInitial >::push ( Iter  b,
Iter  e 
)
inline

push a range onto the queue

template<typename Container , bool IgnorePushInitial = false>
template<typename RangeTy >
void galois::worklists::ExternalReference< Container, IgnorePushInitial >::push_initial ( const RangeTy &  r)
inline

push initial range onto the queue called with the same b and e on each thread


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