IT_Bus::GDay Class Reference

#include <it_bus/gday.h>

Inheritance diagram for IT_Bus::GDay:

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

Detailed Description

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

Definition at line 27 of file gday.h.

Public Types

typedef IT_Reflect::ValueRef<
IT_Bus::GDay
IT_ReflectionType

Public Member Functions

 GDay (short wDay=1) IT_THROW_DECL((Exception))
 Constructor.
 GDay (const char *value) IT_THROW_DECL((Exception))
 Constructor.
 GDay (const String &value) IT_THROW_DECL((Exception))
 Constructor.
 GDay (const GDay &copy)
 Copy constructor.
virtual ~GDay ()
 Destructor.
virtual const QNameget_type () const
 Returns the IT_Bus::QName for the type.
void from_string (const String &str) IT_THROW_DECL((Exception))
 Sets the day represented by the instance.
short getDay () const
 Returns a numeric representation of the day.
void setDay (short wDay) IT_THROW_DECL((Exception))
 Set the day represented by the instance from a numeric representation.
bool haveUTCTimeZoneOffset () const
 Returns a flag indicating whether the UTC offset is set.
void setLocalTimeZone ()
 Sets the local time zone.
void getUTCTimeZoneOffset (short &hour_offset, short &minute_offset) const
 Obtain the UTC offset.
void setUTCTimeZoneOffset (short hour_offset, short minute_offset) IT_THROW_DECL((Exception))
 Sett the UTC offset.
bool operator== (const GDay &other) const
 The equality operator.
bool operator!= (const GDay &other) const
 The inequality operator.
GDayoperator= (const GDay &rhs)
 Assignment operator.

Static Public Member Functions

GDay &operator+=(const Duration get_static_type ()&rhs) IT_THROW_DECL((IT_Bus GDay &static operator-=(const Duration &rhs) IT_THROW_DECL((IT_Bus const QName &
 Duration subtraction with assignment operator.

Public Attributes

virtual IT_Reflect::Reflection
*virtual get_reflection()
IT_THROW_DECL((IT_Reflect
const IT_Reflect::Reflection
*get_reflection() const IT_THROW_DECL((IT_Reflect Strin 
to_string )() const
 Returns the day represented by the instance.

Private Attributes

GDayImpl * m_impl


Constructor & Destructor Documentation

IT_Bus::GDay::GDay ( short  wDay = 1  ) 

Constructor.

Parameters:
wDay the day of the month. The default is 1
Exceptions:
Exception 

IT_Bus::GDay::GDay ( const char *  value  ) 

Constructor.

Parameters:
value string representation of a gDay instance
Exceptions:
Exception 

IT_Bus::GDay::GDay ( const String value  ) 

Constructor.

Parameters:
value string representation of a gDay instance
Exceptions:
Exception 


Member Function Documentation

void IT_Bus::GDay::from_string ( const String str  ) 

Sets the day represented by the instance.

Parameters:
IT_Bus::String 

virtual const QName& IT_Bus::GDay::get_type (  )  const [virtual]

Returns the IT_Bus::QName for the type.

Returns:
NT_SCHEMA_GDAY.

Implements IT_Bus::AnyType.

short IT_Bus::GDay::getDay (  )  const

Returns a numeric representation of the day.

Returns:
short

void IT_Bus::GDay::getUTCTimeZoneOffset ( short &  hour_offset,
short &  minute_offset 
) const

Obtain the UTC offset.

Hour and minute offsets are returned via out parameters.

bool IT_Bus::GDay::haveUTCTimeZoneOffset (  )  const

Returns a flag indicating whether the UTC offset is set.

Returns:
bool

bool IT_Bus::GDay::operator!= ( const GDay other  )  const

The inequality operator.

Returns:
bool

bool IT_Bus::GDay::operator== ( const GDay other  )  const

The equality operator.

Returns:
bool

void IT_Bus::GDay::setDay ( short  wDay  ) 

Set the day represented by the instance from a numeric representation.

Parameters:
short 

void IT_Bus::GDay::setUTCTimeZoneOffset ( short  hour_offset,
short  minute_offset 
)

Sett the UTC offset.

Parameters:
short the hours offset
short the minutes offset


Member Data Documentation

virtual IT_Reflect::Reflection* virtual get_reflection () IT_THROW_DECL((IT_Reflect const IT_Reflect::Reflection* get_reflection () const IT_THROW_DECL((IT_Reflect Strin IT_Bus::GDay::to_string)() const

Returns the day represented by the instance.

Returns:
IT_Bus::String.


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