Milena (Olena)
User documentation 2.0a Id
|
Unsigned integer value class. More...
#include <int_u.hh>
Public Member Functions | |
int_u () | |
Constructor without argument. | |
int_u (int i) | |
Constructor from an integer. | |
int_u< n > | next () const |
Give the next value (i.e., i + 1). | |
operator unsigned () const | |
Conversion to an unsigned integer. | |
int | operator- () const |
Unary operator minus. | |
int_u< n > & | operator= (int i) |
Assignment from an integer. | |
int_u (const mln::literal::zero_t &) | |
Constructors/assignments with literals. |
Unsigned integer value class.
The parameter is n
the number of encoding bits.
mln::value::int_u< n >::int_u | ( | ) | [inline] |
mln::value::int_u< n >::int_u | ( | int | i | ) | [inline] |
mln::value::int_u< n >::int_u | ( | const mln::literal::zero_t & | ) | [inline] |
int_u< n > mln::value::int_u< n >::next | ( | ) | const [inline] |
mln::value::int_u< n >::operator unsigned | ( | ) | const [inline] |
int mln::value::int_u< n >::operator- | ( | ) | const [inline] |
int_u< n > & mln::value::int_u< n >::operator= | ( | int | i | ) | [inline] |