#include <it_bus/integer.h>
Inheritance diagram for IT_Bus::NonPositiveInteger:
This class stores the value as a Decimal value.
Definition at line 448 of file integer.h.
Public Types | |
typedef IT_Reflect::ValueRef< IT_Bus::NonPositiveInteger > | IT_ReflectionType |
Public Member Functions | |
NonPositiveInteger () IT_THROW_DECL(()) | |
No argument constructor. | |
NonPositiveInteger &operator=(short value | operator= (const NonPositiveInteger &rhs) IT_THROW_DECL(())) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(unsigned short value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(int value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(unsigned int value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(long value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(unsigned long value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(IT_LongLong value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(IT_ULongLong value) IT_THROW_DECL((IT_Bus NonPositiveInteger &operator=(const Integer &rhs) IT_THROW_DECL((IT_Bus NonPositiveInteger & |
Assignment operator from NonPositiveInteger. | |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
Static Public Member Functions | |
static bool | is_valid_non_positive_integer (const Decimal &value) IT_THROW_DECL(()) |
Determines whether the test value is a valid nonpositive integer. | |
Public Attributes | |
NonPositiveInteger(short value) IT_THROW_DECL((IT_Bus NonPositiveInteger(unsigned short value) IT_THROW_DECL((IT_Bus NonPositiveInteger(int value) IT_THROW_DECL((IT_Bus NonPositiveInteger(unsigned int value) IT_THROW_DECL((IT_Bus NonPositiveInteger(long value) IT_THROW_DECL((IT_Bus NonPositiveInteger(unsigned long value) IT_THROW_DECL((IT_Bus NonPositiveInteger(IT_LongLong value) IT_THROW_DECL((IT_Bus NonPositiveInteger(IT_ULongLong value) IT_THROW_DECL((IT_Bus NonPositiveInteger(const char *value, bool truncate=false) IT_THROW_DECL((IT_Bus NonPositiveInteger(const String &value, bool truncate=false) IT_THROW_DECL((IT_Bus NonPositiveInteger(const Decimal &value, bool truncate=false) IT_THROW_DECL((IT_Bus NonPositiveInteger(const Integer ©) IT_THROW_DECL((IT_Bu | NonPositiveInteger )(const NonPositiveInteger ©) IT_THROW_DECL(()) |
Copy constructor. |
virtual const QName& IT_Bus::NonPositiveInteger::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::NegativeInteger.
static bool IT_Bus::NonPositiveInteger::is_valid_non_positive_integer | ( | const Decimal & | value | ) | [static] |
Determines whether the test value is a valid nonpositive integer.
Decimal | value to be tested. |