faunus
Public Member Functions | List of all members
Faunus::IterRange< T > Struct Template Reference

Turns a pair of iterators into a range. More...

#include <group.h>

Inheritance diagram for Faunus::IterRange< T >:
Inheritance graph
[legend]
Collaboration diagram for Faunus::IterRange< T >:
Collaboration graph
[legend]

Public Member Functions

Tbegin ()
 
Tend ()
 
const Tbegin () const
 
const Tend () const
 
size_t size () const
 
void resize (size_t n)
 
bool empty () const
 
void clear ()
 
std::pair< int, int > to_index (T reference) const
 Returns particle index pair relative to given reference.
 

Detailed Description

template<class T>
struct Faunus::IterRange< T >

Turns a pair of iterators into a range.


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