libgrape-lite
A C++ library for parallel graph processing
Public Member Functions | Private Attributes | List of all members
grape::IteratorPair< T > Class Template Reference

IteratorPair is a wrapper for begin and end iterators. More...

#include <iterator_pair.h>

Public Member Functions

 IteratorPair (const T begin, const T end)
 
begin () const
 
end () const
 
IteratorPairoperator= (const IteratorPair &ip)
 
bool empty () const
 
void set_begin (T begin)
 
void set_end (T end)
 
int size () const
 

Private Attributes

begin_
 
end_
 

Detailed Description

template<typename T>
class grape::IteratorPair< T >

IteratorPair is a wrapper for begin and end iterators.

Template Parameters
TThe type of data type will be iterated over.