#include <wtime.h>
Public Types | |
| enum | { POSITIVE =0 , NEGATIVE =1 } |
| enum | { POSITIVE =0 , NEGATIVE =1 } |
Public Member Functions | |
| Wtime () | |
| Wtime (Wtime &other) | |
| Wtime (uint32 other) | |
| ~Wtime () | |
| void | Update () |
| void | PrintTime (FILE *out) const |
| void | PrintTime (char *out) const |
| void | PrintDate (FILE *out) const |
| void | PrintDate (char *out) const |
| uint32 | GetSec (void) const |
| uint32 | GetUsec (void) const |
| void | SetSec (uint32 newsec) |
| void | SetUsec (uint32 newusec) |
| void | Set (uint32 newsec, uint32 newusec) |
| bit8 | ParseDate (char *in) |
| bit8 | FormatTime (char *out, char *format) |
| struct timeval * | GetTimeval (void) |
| void | GetTimevalMT (struct timeval &tv) |
| uint32 | GetSecond (void) const |
| uint32 | GetMinute (void) const |
| uint32 | GetHour (void) const |
| uint32 | GetMDay (void) const |
| uint32 | GetWDay (void) const |
| uint32 | GetYDay (void) const |
| uint32 | GetMonth (void) const |
| uint32 | GetYWeek (void) const |
| uint32 | GetYear (void) const |
| bit8 | GetSign (void) const |
| int | Compare (const Wtime &other) const |
| bit8 | operator== (const Wtime &other) const |
| bit8 | operator!= (const Wtime &other) const |
| bit8 | operator< (const Wtime &other) const |
| bit8 | operator> (const Wtime &other) const |
| bit8 | operator<= (const Wtime &other) const |
| bit8 | operator>= (const Wtime &other) const |
| Wtime & | operator= (const Wtime &other) |
| Wtime & | operator= (const uint32 other) |
| void | SignedAdd (const Wtime &other) |
| void | SignedSubtract (const Wtime &other) |
| Wtime & | operator+= (const Wtime &other) |
| Wtime & | operator-= (const Wtime &other) |
| Wtime | operator+ (Wtime &other) |
| Wtime | operator- (Wtime &other) |
| Wtime & | operator+= (const uint32 other) |
| Wtime & | operator-= (const uint32 other) |
| Wtime | operator+ (uint32 other) |
| Wtime | operator- (uint32 other) |
| Wtime () | |
| Wtime (Wtime &other) | |
| Wtime (uint32 other) | |
| ~Wtime () | |
| void | Update () |
| void | PrintTime (FILE *out) const |
| void | PrintTime (char *out) const |
| void | PrintDate (FILE *out) const |
| void | PrintDate (char *out) const |
| uint32 | GetSec (void) const |
| uint32 | GetUsec (void) const |
| void | SetSec (uint32 newsec) |
| void | SetUsec (uint32 newusec) |
| void | Set (uint32 newsec, uint32 newusec) |
| bit8 | ParseDate (char *in) |
| bit8 | FormatTime (char *out, char *format) |
| struct timeval * | GetTimeval (void) |
| void | GetTimevalMT (struct timeval &tv) |
| uint32 | GetSecond (void) const |
| uint32 | GetMinute (void) const |
| uint32 | GetHour (void) const |
| uint32 | GetMDay (void) const |
| uint32 | GetWDay (void) const |
| uint32 | GetYDay (void) const |
| uint32 | GetMonth (void) const |
| uint32 | GetYWeek (void) const |
| uint32 | GetYear (void) const |
| bit8 | GetSign (void) const |
| int | Compare (const Wtime &other) const |
| bit8 | operator== (const Wtime &other) const |
| bit8 | operator!= (const Wtime &other) const |
| bit8 | operator< (const Wtime &other) const |
| bit8 | operator> (const Wtime &other) const |
| bit8 | operator<= (const Wtime &other) const |
| bit8 | operator>= (const Wtime &other) const |
| Wtime & | operator= (const Wtime &other) |
| Wtime & | operator= (const uint32 other) |
| void | SignedAdd (const Wtime &other) |
| void | SignedSubtract (const Wtime &other) |
| Wtime & | operator+= (const Wtime &other) |
| Wtime & | operator-= (const Wtime &other) |
| Wtime | operator+ (Wtime &other) |
| Wtime | operator- (Wtime &other) |
| Wtime & | operator+= (const uint32 other) |
| Wtime & | operator-= (const uint32 other) |
| Wtime | operator+ (uint32 other) |
| Wtime | operator- (uint32 other) |
Protected Attributes | |
| uint32 | sec |
| uint32 | usec |
| bit8 | sign |
| Wtime::Wtime | ( | ) |
| Wtime::Wtime | ( | Wtime & | other | ) |
| Wtime::Wtime | ( | uint32 | other | ) |
| Wtime::~Wtime | ( | ) |
| int Wtime::Compare | ( | const Wtime & | other | ) | const |
| bit8 Wtime::FormatTime | ( | char * | out, |
| char * | format ) |
| uint32 Wtime::GetHour | ( | void | ) | const |
| uint32 Wtime::GetMDay | ( | void | ) | const |
| uint32 Wtime::GetMinute | ( | void | ) | const |
| uint32 Wtime::GetMonth | ( | void | ) | const |
| uint32 Wtime::GetSec | ( | void | ) | const |
| uint32 Wtime::GetSecond | ( | void | ) | const |
| bit8 Wtime::GetSign | ( | void | ) | const |
| struct timeval * Wtime::GetTimeval | ( | void | ) |
| void Wtime::GetTimevalMT | ( | struct timeval & | tv | ) |
| uint32 Wtime::GetUsec | ( | void | ) | const |
| uint32 Wtime::GetWDay | ( | void | ) | const |
| uint32 Wtime::GetYDay | ( | void | ) | const |
| uint32 Wtime::GetYear | ( | void | ) | const |
| uint32 Wtime::GetYWeek | ( | void | ) | const |
| bit8 Wtime::ParseDate | ( | char * | in | ) |
| void Wtime::PrintDate | ( | char * | out | ) | const |
| void Wtime::PrintDate | ( | FILE * | out | ) | const |
| void Wtime::PrintTime | ( | char * | out | ) | const |
| void Wtime::PrintTime | ( | FILE * | out | ) | const |
| void Wtime::SetSec | ( | uint32 | newsec | ) |
| void Wtime::SetUsec | ( | uint32 | newusec | ) |
| void Wtime::SignedAdd | ( | const Wtime & | other | ) |
| void Wtime::SignedSubtract | ( | const Wtime & | other | ) |
| void Wtime::Update | ( | ) |