Gromacs
2019-beta3
|
#include <gromacs/topology/block.h>
Struct for returning the range of a block.
Can be used in a range loop.
Classes | |
struct | iterator |
An iterator that loops over integers. More... | |
Public Member Functions | |
Block (int begin, int end) | |
Constructor, constructs a range starting at 0 with 0 blocks. | |
const iterator | begin () const |
Begin iterator/value. | |
const iterator | end () const |
End iterator/value. | |
int | size () const |
The number of items in the block. | |
bool | inRange (int index) const |
Returns whether index is within range of the block. | |