#include <plIntegerType.h>
Inheritance diagram for plIntegerType:


Public Member Functions | |
| plData | first_value () const |
| Returns the start value of the type. | |
| plData | last_value () const |
| Returns the last value of the type. | |
| bool | next_value (plData &v) |
| Returns {true} if {v } has a successor on the type and sets {v} to the successor otherwise it return {false}. | |
| bool | next_value (float &v) |
| Returns {true} if {v } has a successor on the type and sets {v} to the successor otherwise it return {false}. | |
| bool | next_value (double &v) |
| Returns {true} if {v } has a successor on the type and sets {v} to the successor otherwise it return {false}. | |
| bool | next_value (long double &v) |
| Returns {true} if {v } has a successor on the type and sets {v} to the successor otherwise it return {false}. | |
| bool | next_value (int &v) |
| Returns {true} if {v } has a successor on the type and sets {v} to the successor otherwise it return {false}. | |
| plIntegerType (int min, int max) | |
| Creates an integer type with interval [min,max]. | |
| virtual | ~plIntegerType () |
| Destructor of the type. | |
Static Public Attributes | |
| static const plIntegerType | plBinaryType |
| plBinaryType is a plInteger = [0,1] | |
Protected Member Functions | |
| void | Output (ostream &out) const |
| Writes the type at the output given by "out". | |
Friends | |
| class | plUniform |
| Friend classes and functions. | |
Definition at line 38 of file plIntegerType.h.
1.4.1