Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions
gmx::RangePartitioning::Block Struct Reference

#include <gromacs/topology/block.h>

Description

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.
 

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