fcml
1.2.2
|
Represents integer value. More...
#include <fcml_common.hpp>
Public Member Functions | |
Integer () | |
Integer (fcml_int8_t value) | |
Integer (fcml_int16_t value) | |
Integer (fcml_int32_t value) | |
Integer (fcml_int64_t value) | |
Integer (fcml_uint8_t value) | |
Integer (fcml_uint16_t value) | |
Integer (fcml_uint32_t value) | |
Integer (fcml_uint64_t value) | |
virtual | ~Integer () |
fcml_int16_t | getInt16 () const |
Integer & | setInt16 (fcml_int16_t int16) |
fcml_int32_t | getInt32 () const |
Integer & | setInt32 (fcml_int32_t int32) |
fcml_int64_t | getInt64 () const |
Integer & | setInt64 (fcml_int64_t int64) |
fcml_int8_t | getInt8 () const |
Integer & | setInt8 (fcml_int8_t int8) |
fcml_bool | isSigned () const |
Integer & | setSigned (fcml_bool isSigned) |
fcml_usize | getSize () const |
Integer & | setSize (fcml_usize size) |
bool | operator== (const fcml_uint8_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_int8_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_uint16_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_int16_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_uint32_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_int32_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_uint64_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const fcml_int64_t value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator== (const Integer &value) const |
Checks if the integer is equal to the passed value. More... | |
bool | operator!= (const fcml_uint8_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_int8_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_uint16_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_int16_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_uint32_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_int32_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_uint64_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const fcml_int64_t value) const |
Checks if the integer is not equal to the passed value. More... | |
bool | operator!= (const Integer &value) const |
Checks if the integer is not equal to the passed value. More... | |
operator fcml_int8_t () const | |
A casting operator. More... | |
operator fcml_uint8_t () const | |
A casting operator. More... | |
operator fcml_int16_t () const | |
A casting operator. More... | |
operator fcml_uint16_t () const | |
A casting operator. More... | |
operator fcml_int32_t () const | |
A casting operator. More... | |
operator fcml_uint32_t () const | |
A casting operator. More... | |
operator fcml_int64_t () const | |
A casting operator. More... | |
operator fcml_uint64_t () const | |
A casting operator. More... | |
Integer & | operator+= (const Integer &arg) |
Addition assignment. More... | |
Integer & | operator*= (const Integer &arg) |
Multiplication assignment. More... | |
Integer & | operator/= (const Integer &arg) |
Division assignment. More... | |
Integer & | operator-= (const Integer &arg) |
Subtraction assignment. More... | |
Integer | operator+ (const Integer &src) const |
Addition operator. More... | |
Integer | operator- (const Integer &src) const |
Subtraction operator. More... | |
Integer | operator* (const Integer &src) const |
Multiplication operator. More... | |
Integer | operator/ (const Integer &src) const |
Division operator. More... | |
Static Public Member Functions | |
static Integer | int8 (fcml_int8_t value) |
Factory method which creates an instance fo the Integer for given parameter. More... | |
static Integer | uint8 (fcml_uint8_t value) |
Factory method which creates an instance fo the Integer for given parameter. More... | |
static Integer | int16 (fcml_int16_t value) |
Factory method which creates an instance fo the Integer for given parameter. More... | |
static Integer | uint16 (fcml_uint16_t value) |
Factory method which creates an instance fo the Integer for given parameter. More... | |
static Integer | int32 (fcml_int32_t value) |
Factory method which creates an insatnce fo the Integer for given parameter. More... | |
static Integer | uint32 (fcml_uint32_t value) |
Factory method which creates an insatnce fo the Integer for given parameter. More... | |
static Integer | int64 (fcml_int64_t value) |
Factory method which creates an insatnce fo the Integer for given parameter. More... | |
static Integer | uint64 (fcml_uint64_t value) |
Factory method which creates an insatnce fo the Integer for given parameter. More... | |
Represents integer value.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is not equal to the passed value.
value | The source value to be compared with the integer. |
Multiplication operator.
Multiplication assignment.
Subtraction operator.
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
Checks if the integer is equal to the passed value.
value | The source value to be compared with the integer. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |