Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

IT_Bus::PositiveInteger Class Reference

#include <it_bus/integer.h>

Inheritance diagram for IT_Bus::PositiveInteger:

IT_Bus::NonNegativeInteger IT_Bus::Integer IT_Bus::AnySimpleType IT_Bus::AnyType List of all members.

Detailed Description

Class encapsulated within generated classes derived from xsd:positiveInteger type definitions in a WSDL or XSD file.

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 &copy) throw ((IT_Bus::Exception))
 Constructor.
 PositiveInteger (const PositiveInteger &copy) 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 &copy)
 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.


Constructor & Destructor Documentation

IT_Bus::PositiveInteger::PositiveInteger (   )  throw (())
 

No argument constructor.

IT_Bus::PositiveInteger::PositiveInteger (  short  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
short value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  unsigned short  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
unsigned short value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  int  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
int value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  unsigned int  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
unsigned int value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  long  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
long value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  unsigned long  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
unsigned long value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  IT_LongLong  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
longlong value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  IT_ULongLong  value  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
unsigned longlong value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  const char *  value,
bool  truncate = false
)  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
Pointer to character array value to use in initializing instance.
bool indicator of whether to trucate the value at a possible decimal point

IT_Bus::PositiveInteger::PositiveInteger (  const String &  value,
bool  truncate = false
)  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
String value to use in initializing instance.
bool indicator of whether to trucate the value at a possible decimal point

IT_Bus::PositiveInteger::PositiveInteger (  const Decimal &  value,
bool  truncate = false
)  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
Decimal value to use in initializing instance.
bool indicator of whether to trucate the value at a possible decimal point

IT_Bus::PositiveInteger::PositiveInteger (  const Integer &  copy  )  throw ((IT_Bus::Exception))
 

Constructor.

Parameters:
Integer value to use in initializing instance.

IT_Bus::PositiveInteger::PositiveInteger (  const PositiveInteger &  copy  )  throw (())
 

Constructor.

Parameters:
PositiveInteger value to use in initializing instance.


Member Function Documentation

virtual AnyType& IT_Bus::PositiveInteger::copy (  const AnyType &  copy  )  [virtual]
 

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.

Parameters:
AnyType to be copied.
Returns:
A reference to AnyType.
Exceptions:
IT_Bus::Exception with message "Copy not supported"

Reimplemented from IT_Bus::NonNegativeInteger.

virtual const IT_Reflect::Reflection* IT_Bus::PositiveInteger::get_reflection (   )  const throw ((IT_Reflect::ReflectException)) [virtual]
 

Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.

Returns:
IT_Reflect::Reflection
Exceptions:
IT_Reflect::ReflectException 

Reimplemented from IT_Bus::NonNegativeInteger.

virtual IT_Reflect::Reflection* IT_Bus::PositiveInteger::get_reflection (   )  throw ((IT_Reflect::ReflectException)) [virtual]
 

Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.

Returns:
IT_Reflect::Reflection
Exceptions:
IT_Reflect::ReflectException 

Reimplemented from IT_Bus::NonNegativeInteger.

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.

Returns:
NT_SCHEMA_PINT.

Reimplemented from IT_Bus::NonNegativeInteger.

bool IT_Bus::PositiveInteger::is_valid_positive_integer (  const Decimal &  value  )  throw (()) [static]
 

Checks whether the test value is a valid positive integer.

Returns:
bool

PositiveInteger& IT_Bus::PositiveInteger::operator= (  const PositiveInteger &  rhs  )  throw (())
 

Assignment operator from PositiveInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  const Integer &  rhs  )  throw ((IT_Bus::Exception))
 

Assignment operator from Integer.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  IT_ULongLong  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from unsigned longlong.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  IT_LongLong  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from longlong.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  unsigned long  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from unsigned long.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  long  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from long.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  unsigned int  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from unsigned int.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  int  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from int.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  unsigned short  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from unsigned short.

Reimplemented from IT_Bus::NonNegativeInteger.

PositiveInteger& IT_Bus::PositiveInteger::operator= (  short  value  )  throw ((IT_Bus::Exception))
 

Assignment operator from short.

Reimplemented from IT_Bus::NonNegativeInteger.

virtual void IT_Bus::PositiveInteger::validate (  const Decimal &  value  )  const throw ((IT_Bus::Exception)) [protected, virtual]
 

Checks whether the test value is a valid positive integer.

This method invokes the validate_positive_integer() method.

Exceptions:
IT_Bus::Exception 

Reimplemented from IT_Bus::NonNegativeInteger.

void IT_Bus::PositiveInteger::validate_positive_integer (  const Decimal &  value  )  throw ((IT_Bus::Exception)) [static, protected]
 

Checks whether the test value is a valid positive integer.

Exceptions:
IT_Bus::Exception with the message "Out of range" if the test value is =< 0.


Generated on Wed Mar 22 12:23:32 2006 for Artix by  doxygen 1.3.9.1