#include <it_bus/gmonth.h>
Inheritance diagram for IT_Bus::GMonth:

Definition at line 27 of file gmonth.h.
Public Types | |
|
typedef IT_Reflect::ValueRef< IT_Bus::GMonth > | IT_ReflectionType |
Public Member Functions | |
| GMonth (short wMonth=1) throw ((Exception)) | |
| Constructor. | |
| GMonth (const char *value) throw ((Exception)) | |
| Constructor. | |
| GMonth (const String &value) throw ((Exception)) | |
| Constructor. | |
| GMonth (const GMonth ©) | |
| Copy constructor. | |
| virtual | ~GMonth () |
| Destructor. | |
| virtual AnyType & | copy (const AnyType &rhs) |
| Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
| virtual void | write_value (AnySimpleTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
| Write the instance value. | |
| virtual void | read_value (AnySimpleTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
| Read the value into the instance. | |
| virtual AnyType::Kind | get_kind () const |
| Returns the IT_Bus::AnyType::Kind for the type. | |
| 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. | |
| String | to_string () const |
| Returns the month represented by the instance. | |
| void | from_string (const String &str) throw ((Exception)) |
| Sets the month represented by the instance. | |
| short | getMonth () const |
| Returns a numeric representation of the month. | |
| void | setMonth (short wMonth) throw ((Exception)) |
| Set the month 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) throw ((Exception)) |
| Set the UTC offset. | |
| bool | operator== (const GMonth &other) const |
| The equality operator. | |
| bool | operator!= (const GMonth &other) const |
| The inequality operator. | |
| GMonth & | operator= (const GMonth &rhs) |
| Assignment operator. | |
| GMonth & | operator+= (const Duration &rhs) throw ((IT_Bus::Exception)) |
| Duration addition with assignment operator. | |
| GMonth & | operator-= (const Duration &rhs) throw ((IT_Bus::Exception)) |
| Duration subtraction with assignment operator. | |
Private Attributes | |
| GMonthImpl * | m_impl |
| IT_Bus::GMonth::GMonth | ( | short | wMonth = 1 |
) | throw ((Exception)) |
| IT_Bus::GMonth::GMonth | ( | const char * | value | ) | throw ((Exception)) |
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.
| AnyType | to be copied. |
| IT_Bus::Exception | with message "Copy not supported" |
Reimplemented from IT_Bus::AnyType.
| virtual void IT_Bus::GMonth::write_value | ( | AnySimpleTypeWriter & | writer | ) | const throw ((IT_Bus::SerializationException)) [virtual] |
| virtual void IT_Bus::GMonth::read_value | ( | AnySimpleTypeReader & | reader | ) | throw ((IT_Bus::DeserializationException)) [virtual] |
Read the value into the instance.
Derived classes implement this method.
Implements IT_Bus::AnySimpleType.
| virtual AnyType::Kind IT_Bus::GMonth::get_kind | ( | ) | const [virtual] |
Returns the IT_Bus::AnyType::Kind for the type.
Reimplemented from IT_Bus::AnySimpleType.
| virtual const QName& IT_Bus::GMonth::get_type | ( | ) | const [virtual] |
| virtual IT_Reflect::Reflection* IT_Bus::GMonth::get_reflection | ( | ) | throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
| IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.
| virtual const IT_Reflect::Reflection* IT_Bus::GMonth::get_reflection | ( | ) | const throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
| IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.
| String IT_Bus::GMonth::to_string | ( | ) | const |
| short IT_Bus::GMonth::getMonth | ( | ) | const |
Returns a numeric representation of the month.
| void IT_Bus::GMonth::setMonth | ( | short | wMonth | ) | throw ((Exception)) |
Set the month represented by the instance from a numeric representation.
| short |
| bool IT_Bus::GMonth::haveUTCTimeZoneOffset | ( | ) | const |
Returns a flag indicating whether the UTC offset is set.
| void IT_Bus::GMonth::getUTCTimeZoneOffset | ( | short & | hour_offset, | |
| short & | minute_offset | |||
| ) | const |
Obtain the UTC offset.
Hour and minute offsets are returned via out parameters.
| void IT_Bus::GMonth::setUTCTimeZoneOffset | ( | short | hour_offset, | |
| short | minute_offset | |||
| ) | throw ((Exception)) |
Set the UTC offset.
| short | the hours offset | |
| short | the minutes offset |
| bool IT_Bus::GMonth::operator== | ( | const GMonth & | other | ) | const |
The equality operator.
| bool IT_Bus::GMonth::operator!= | ( | const GMonth & | other | ) | const |
The inequality operator.
1.5.1-p1