A sequence function object useful as an STL generator. More...
#include <model.hh>
Public Member Functions | |
int | operator() () |
Subscript operator. Each call increments the value of the sequence. | |
sequence (int start=0) | |
A sequence class starting at start. | |
Protected Attributes | |
int | value_m |
A sequence function object useful as an STL generator.
Returns start, start+1, ...
mets::sequence::sequence | ( | int | start = 0 | ) | [inline] |
int mets::sequence::operator() | ( | ) | [inline] |
int mets::sequence::value_m [protected] |