feisty meow concerns codebase  2.140
structures::int_roller Class Reference

A roller that's based on integers. This is the most common type so far. More...

#include <roller.h>

Inheritance diagram for structures::int_roller:
Collaboration diagram for structures::int_roller:

Public Member Functions

 int_roller (int start_of_range, int end_of_range)
 
- Public Member Functions inherited from structures::roller< int >
 roller (int start_of_range, int end_of_range)
 constructs a roller between the start and end ranges. More...
 
 ~roller ()
 
int minimum ()
 the smallest value that the roller can have. More...
 
int maximum ()
 the outer limit of the roller; it should never reach this. More...
 
int next_id ()
 returns a unique (per instance of this type) id. More...
 
int current () const
 returns the current id to be used; be careful! More...
 
void set_current (int new_current)
 allows the current id to be manipulated. More...
 

Detailed Description

A roller that's based on integers. This is the most common type so far.

Definition at line 78 of file roller.h.

Constructor & Destructor Documentation

◆ int_roller()

structures::int_roller::int_roller ( int  start_of_range,
int  end_of_range 
)
inline

Definition at line 81 of file roller.h.


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