#include <it_bus/integer.h>
Inheritance diagram for IT_Bus::PositiveInteger:
This class stores the value as a Decimal value.
Definition at line 1236 of file integer.h.
Public Member Functions | |
PositiveInteger () throw (()) | |
No argument constructor. | |
PositiveInteger (short value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (unsigned short value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (int value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (unsigned int value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (long value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (unsigned long value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (IT_LongLong value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (IT_ULongLong value) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (const char *value, bool truncate=false) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (const String &value, bool truncate=false) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (const Decimal &value, bool truncate=false) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (const Integer ©) throw ((IT_Bus::Exception)) | |
Constructor. | |
PositiveInteger (const PositiveInteger ©) throw (()) | |
Constructor. | |
PositiveInteger & | operator= (short value) throw ((IT_Bus::Exception)) |
Assignment operator from short. | |
PositiveInteger & | operator= (unsigned short value) throw ((IT_Bus::Exception)) |
Assignment operator from unsigned short. | |
PositiveInteger & | operator= (int value) throw ((IT_Bus::Exception)) |
Assignment operator from int. | |
PositiveInteger & | operator= (unsigned int value) throw ((IT_Bus::Exception)) |
Assignment operator from unsigned int. | |
PositiveInteger & | operator= (long value) throw ((IT_Bus::Exception)) |
Assignment operator from long. | |
PositiveInteger & | operator= (unsigned long value) throw ((IT_Bus::Exception)) |
Assignment operator from unsigned long. | |
PositiveInteger & | operator= (IT_LongLong value) throw ((IT_Bus::Exception)) |
Assignment operator from longlong. | |
PositiveInteger & | operator= (IT_ULongLong value) throw ((IT_Bus::Exception)) |
Assignment operator from unsigned longlong. | |
PositiveInteger & | operator= (const Integer &rhs) throw ((IT_Bus::Exception)) |
Assignment operator from Integer. | |
PositiveInteger & | operator= (const PositiveInteger &rhs) throw (()) |
Assignment operator from PositiveInteger. | |
virtual AnyType & | copy (const AnyType ©) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual IT_Reflect::Reflection * | get_reflection () throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
virtual const IT_Reflect::Reflection * | get_reflection () const throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
Static Public Member Functions | |
bool | is_valid_positive_integer (const Decimal &value) throw (()) |
Checks whether the test value is a valid positive integer. | |
Protected Member Functions | |
virtual void | validate (const Decimal &value) const throw ((IT_Bus::Exception)) |
Checks whether the test value is a valid positive integer. | |
Static Protected Member Functions | |
void | validate_positive_integer (const Decimal &value) throw ((IT_Bus::Exception)) |
Checks whether the test value is a valid positive integer. |
|
No argument constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Returns a reference to an AnyType that is a copy of the AnyType parameter. Derived classes override this method, providing an appropriate implementation. In this base class, this method is not supported; an exception is always thrown.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Returns the IT_Bus::QName for the type. Derived subclasses implement this method and return their QName.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Checks whether the test value is a valid positive integer.
|
|
Assignment operator from PositiveInteger.
|
|
Assignment operator from Integer.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from unsigned longlong.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from longlong.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from unsigned long.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from long.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from unsigned int.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from int.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from unsigned short.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Assignment operator from short.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Checks whether the test value is a valid positive integer. This method invokes the validate_positive_integer() method.
Reimplemented from IT_Bus::NonNegativeInteger. |
|
Checks whether the test value is a valid positive integer.
|