IT_Bus::NonNegativeInteger Class Reference

#include <it_bus/integer.h>

Inheritance diagram for IT_Bus::NonNegativeInteger:

IT_Bus::Integer IT_Bus::AnySimpleType IT_Bus::AnyType IT_Bus::ImplementationDetails IT_Bus::PositiveInteger List of all members.

Detailed Description

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

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 QNameget_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 &copy) IT_THROW_DECL((IT_Bu 
NonNegativeInteger )(const NonNegativeInteger &copy) IT_THROW_DECL(())
 Constructor.


Member Function Documentation

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.

Returns:
NT_SCHEMA_NNINT.

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.

Returns:
bool


Member Data Documentation

IT_Bus::NonNegativeInteger::NonNegativeInteger ( const NonNegativeInteger copy  ) 

Constructor.

Parameters:
unsigned short value to use in initializing instance.


Generated on Thu Sep 7 11:39:55 2006 for Artix by  doxygen 1.4.7