#include <it_bus/integer.h>
Inheritance diagram for IT_Bus::NonNegativeInteger:
This class stores the value as a Decimal value.
Definition at line 953 of file integer.h.
Public Types | |
typedef IT_Reflect::ValueRef< IT_Bus::NonNegativeInteger > | IT_ReflectionType |
Public Member Functions | |
NonNegativeInteger () IT_THROW_DECL(()) | |
No argument constructor. | |
NonNegativeInteger &operator=(short value | operator= (unsigned short value) IT_THROW_DECL(())) IT_THROW_DECL((IT_Bus NonNegativeInteger & |
Assignment operator from unsigned short. | |
NonNegativeInteger &operator=(int value | operator= (unsigned int value) IT_THROW_DECL(())) IT_THROW_DECL((IT_Bus NonNegativeInteger & |
Assignment operator from unsigned int. | |
NonNegativeInteger &operator=(long value | operator= (unsigned long value) IT_THROW_DECL(())) IT_THROW_DECL((IT_Bus NonNegativeInteger & |
Assignment operator from unsigned long. | |
NonNegativeInteger &operator=(IT_LongLong value | operator= (IT_ULongLong value) IT_THROW_DECL(())) IT_THROW_DECL((IT_Bus NonNegativeInteger & |
Assignment operator from unsigned longlong. | |
NonNegativeInteger &operator=(const Integer | operator= (const NonNegativeInteger &rhs) IT_THROW_DECL(())&rhs) IT_THROW_DECL((IT_Bus NonNegativeInteger & |
Assignment operator from NonNegativeInteger. | |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
Static Public Member Functions | |
static bool | is_valid_non_negative_integer (const Decimal &value) IT_THROW_DECL(()) |
Checks whether the test value is a valid non-negative integer. | |
Public Attributes | |
NonNegativeInteger(const char *value, bool truncate=false) IT_THROW_DECL((IT_Bus NonNegativeInteger(const String &value, bool truncate=false) IT_THROW_DECL((IT_Bus NonNegativeInteger(const Decimal &value, bool truncate=false) IT_THROW_DECL((IT_Bus NonNegativeInteger(const Integer ©) IT_THROW_DECL((IT_Bu | NonNegativeInteger )(const NonNegativeInteger ©) IT_THROW_DECL(()) |
Constructor. |
virtual const QName& IT_Bus::NonNegativeInteger::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Reimplemented from IT_Bus::Integer.
Reimplemented in IT_Bus::PositiveInteger.
static bool IT_Bus::NonNegativeInteger::is_valid_non_negative_integer | ( | const Decimal & | value | ) | [static] |
Checks whether the test value is a valid non-negative integer.
IT_Bus::NonNegativeInteger::NonNegativeInteger | ( | const NonNegativeInteger & | copy | ) |
Constructor.
unsigned | short value to use in initializing instance. |