Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

plIntegerType Class Reference

The {plIntegerType} class is used to create integer types with particular interval [min,max]. More...

#include <plIntegerType.h>

Inheritance diagram for plIntegerType:

Inheritance graph
[legend]
Collaboration diagram for plIntegerType:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

The {plIntegerType} class is used to create integer types with particular interval [min,max].

Definition at line 38 of file plIntegerType.h.


The documentation for this class was generated from the following file:
Generated on Fri Apr 1 10:58:59 2005 for ProBT by  doxygen 1.4.1