Galois::WorkList::ExternRef< Container, pushinit > Struct Template Reference

#include <ExternRef.h>

List of all members.

Classes

struct  rethread
 change the concurrency flag More...
struct  retype
 change the type the worklist holds More...

Public Types

typedef Container::value_type value_type
 T is the value type of the WL.

Public Member Functions

 ExternRef (Container &_wl)
void push (const value_type &val)
 push a value onto the queue
template<typename Iter >
void push (Iter b, Iter e)
 push a range onto the queue
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
Galois::optional< value_typepop ()
 pop a value from the queue.

Private Attributes

Container & wl

template<typename Container, bool pushinit = true>
struct Galois::WorkList::ExternRef< Container, pushinit >


Member Typedef Documentation

template<typename Container , bool pushinit = true>
typedef Container::value_type Galois::WorkList::ExternRef< Container, pushinit >::value_type

T is the value type of the WL.


Constructor & Destructor Documentation

template<typename Container , bool pushinit = true>
Galois::WorkList::ExternRef< Container, pushinit >::ExternRef ( Container &  _wl  )  [inline]

Member Function Documentation

template<typename Container , bool pushinit = true>
Galois::optional<value_type> Galois::WorkList::ExternRef< Container, pushinit >::pop (  )  [inline]

pop a value from the queue.

template<typename Container , bool pushinit = true>
template<typename Iter >
void Galois::WorkList::ExternRef< Container, pushinit >::push ( Iter  b,
Iter  e 
) [inline]

push a range onto the queue

template<typename Container , bool pushinit = true>
void Galois::WorkList::ExternRef< Container, pushinit >::push ( const value_type val  )  [inline]

push a value onto the queue

template<typename Container , bool pushinit = true>
template<typename RangeTy >
void Galois::WorkList::ExternRef< Container, pushinit >::push_initial ( const RangeTy &  r  )  [inline]

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


Member Data Documentation

template<typename Container , bool pushinit = true>
Container& Galois::WorkList::ExternRef< Container, pushinit >::wl [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1