#include <omtime.h>
Public Member Functions | |
| OmTime () | |
| Initialise to 0. | |
| OmTime (long int msec) | |
| Initialised. | |
| OmTime (long int sec_, long int usec_) | |
| void | operator+= (Xapian::timeout msecs) |
| void | operator+= (const OmTime &add) |
| OmTime | operator+ (Xapian::timeout msecs) const |
| OmTime | operator+ (const OmTime &add) const |
| OmTime | operator- (const OmTime &sub) const |
| bool | operator> (const OmTime &rhs) const |
| bool | is_set () const |
| double | as_double () const |
Static Public Member Functions | |
| static OmTime | now () |
| Return the current time. | |
Public Attributes | |
| long int | sec |
| long int | usec |
Definition at line 38 of file omtime.h.
| OmTime OmTime::now | ( | ) | [inline, static] |
Return the current time.
Definition at line 106 of file omtime.h.
Referenced by bigoaddvalue_helper(), RemoteServer::get_message(), RemoteDatabase::get_message(), RemoteConnection::read_at_least(), RemoteServer::run(), RemoteServer::send_message(), RemoteDatabase::send_message(), and time_query_parse().
| void OmTime::operator+= | ( | Xapian::timeout | msecs | ) | [inline] |
| void OmTime::operator+= | ( | const OmTime & | add | ) | [inline] |
| OmTime OmTime::operator+ | ( | Xapian::timeout | msecs | ) | const [inline] |
| bool OmTime::operator> | ( | const OmTime & | rhs | ) | const [inline] |
| bool OmTime::is_set | ( | ) | const [inline] |
| double OmTime::as_double | ( | ) | const [inline] |
| long int OmTime::sec |
Definition at line 101 of file omtime.h.
Referenced by as_double(), is_set(), now(), operator+(), operator+=(), operator-(), operator>(), and RemoteConnection::read_at_least().
| long int OmTime::usec |
Definition at line 102 of file omtime.h.
Referenced by as_double(), is_set(), now(), operator+(), operator+=(), operator-(), operator>(), and RemoteConnection::read_at_least().