Inheritance diagram for odbc::Time:

Definition at line 425 of file types.h.
Public Member Functions | |
| int | getHour () const |
| Gets the hour of this time. | |
| int | getHour () const |
| Gets the hour of this time. | |
| int | getMinute () const |
| Gets the minute of this time. | |
| int | getMinute () const |
| Gets the minute of this time. | |
| int | getSecond () const |
| Gets the second of this time. | |
| int | getSecond () const |
| Gets the second of this time. | |
| std::time_t | getTime () const |
Returns the time_t value of 1970-01-01 at this time. | |
| std::time_t | getTime () const |
Returns the time_t value of 1970-01-01 at this time. | |
| Time & | operator= (const Time &t) |
| Assignment operator. | |
| Time & | operator= (const Time &t) |
| Assignment operator. | |
| void | parse (const ODBCXX_STRING &str) |
Sets this time from a string in the HH:MM:SS format. | |
| void | parse (const ODBCXX_STRING &str) |
Sets this time from a string in the HH:MM:SS format. | |
| void | setHour (int h) |
| Sets the hour of this time. | |
| void | setHour (int h) |
| Sets the hour of this time. | |
| void | setMinute (int m) |
| Sets the minute of this time. | |
| void | setMinute (int m) |
| Sets the minute of this time. | |
| void | setSecond (int s) |
| Sets the second of this time. | |
| void | setSecond (int s) |
| Sets the second of this time. | |
| virtual void | setTime (std::time_t t) |
Sets the time to the specified time_t value. | |
| virtual void | setTime (std::time_t t) |
Sets the time to the specified time_t value. | |
| Time (const Time &t) | |
| Copy constructor. | |
| Time (const ODBCXX_STRING &str) | |
| Constructor. | |
| Time (std::time_t t) | |
| Constructor. | |
| Time () | |
| Constructor. | |
| Time (int hour, int minute, int second) | |
| Constructor. | |
| Time (const Time &t) | |
| Copy constructor. | |
| Time (const ODBCXX_STRING &str) | |
| Constructor. | |
| Time (std::time_t t) | |
| Constructor. | |
| Time () | |
| Constructor. | |
| Time (int hour, int minute, int second) | |
| Constructor. | |
| virtual | ~Time () |
| Destructor. | |
| virtual | ~Time () |
| Destructor. | |
Protected Member Functions | |
| int | _validateHour (int h) |
| int | _validateHour (int h) |
| int | _validateMinute (int m) |
| int | _validateMinute (int m) |
| int | _validateSecond (int s) |
| int | _validateSecond (int s) |
Protected Attributes | |
| int | hour_ |
| int | minute_ |
| int | second_ |
| odbc::Time::Time | ( | ) | [explicit] |
Constructor.
Sets the time to now.
| odbc::Time::Time | ( | std::time_t | t | ) | [inline] |
| odbc::Time::Time | ( | const ODBCXX_STRING & | str | ) | [inline] |
| odbc::Time::Time | ( | ) | [explicit] |
Constructor.
Sets the time to now.
| odbc::Time::Time | ( | std::time_t | t | ) | [inline] |
| odbc::Time::Time | ( | const ODBCXX_STRING & | str | ) | [inline] |