#include <vartype.h>
Inheritance diagram for ABA_VARTYPE:

Public Types | |
| enum | TYPE { Continuous, Integer, Binary } |
Public Member Functions | |
| ABA_VARTYPE () | |
| The default constructor lets the type of the variable uninitialized. | |
| ABA_VARTYPE (TYPE t) | |
| TYPE | type () const |
| void | type (TYPE t) |
| This version of the function type() sets the variable type. | |
| bool | discrete () const |
| bool | binary () const |
| bool | integer () const |
Private Attributes | |
| TYPE | type_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_VARTYPE &rhs) |
| The output operator writes the variable type to an output stream in the format { Continuous}, { Integer}, or { Binary}. | |
Definition at line 45 of file vartype.h.
| enum ABA_VARTYPE::TYPE |
| ABA_VARTYPE::ABA_VARTYPE | ( | ) | [inline] |
| ABA_VARTYPE::ABA_VARTYPE | ( | TYPE | t | ) | [inline] |
| ABA_VARTYPE::TYPE ABA_VARTYPE::type | ( | ) | const [inline] |
| void ABA_VARTYPE::type | ( | TYPE | t | ) | [inline] |
| bool ABA_VARTYPE::discrete | ( | ) | const [inline] |
| bool ABA_VARTYPE::binary | ( | ) | const [inline] |
| bool ABA_VARTYPE::integer | ( | ) | const |
false otherwise.
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_VARTYPE & | rhs | |||
| ) | [friend] |
The output operator writes the variable type to an output stream in the format { Continuous}, { Integer}, or { Binary}.
| out | The output stream. | |
| rhs | The variable type being output. |
TYPE ABA_VARTYPE::type_ [private] |
1.5.1