#include <dob.h>
Inheritance diagram for dob:


Public Methods | |
| dob () | |
| virtual | ~dob () |
| dob (const dob &d) | |
| const dob & | operator= (const dob &rhs) |
| bool | operator< (const dob &d) |
| int | getYear () const |
| short int | getMonth () const |
| short int | getDay () const |
| void | setYear (const int &year) |
| void | setMonth (const int &month) |
| void | setDay (const int &day) |
| virtual string | ToParse (int fld) |
| Gets neccessary data to parse string. More... | |
| virtual string | ToString () |
| Returns the field as a string. More... | |
| virtual string | ToFileFmt () |
| Converts field to the current file format. More... | |
Protected Methods | |
| void | copy (const dob &dob) |
Protected Attributes | |
| int | m_year |
| short int | m_month |
| short int | m_day |
|
|
|
|
|
|
|
|
|
|
|
Converts field to the current file format.
Reimplemented from field. |
|
|
Gets neccessary data to parse string.
Reimplemented from field. |
|
|
Returns the field as a string.
Reimplemented from field. |
|
|
|
|
|
00040 {
00041 return m_day;
00042 }
|
|
|
00035 {
00036 return m_month;
00037 }
|
|
|
00030 {
00031 return m_year;
00032 }
|
|
|
|
|
|
|
|
|
00057 {
00058 m_day = day;
00059 }
|
|
|
00052 {
00053 m_month = month;
00054 }
|
|
|
00047 {
00048 m_year = year;
00049 }
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001