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