2#ifndef POSIX_POSIXFILETIME_H
3#define POSIX_POSIXFILETIME_H
67 return this->
time.tv_sec;
76 return this->
time.tv_nsec;
85 this->
time.tv_nsec = lowbits;
86 this->
time.tv_sec = highbits;
94 return (a.
time.tv_sec == b.
time.tv_sec) && (a.
time.tv_nsec == b.
time.tv_nsec);
103 return (a.
time.tv_sec != b.
time.tv_sec) || (a.
time.tv_nsec != b.
time.tv_nsec);
112 if (a.
time.tv_sec < b.
time.tv_sec)
return false;
113 if (a.
time.tv_sec > b.
time.tv_sec)
return true;
114 if (a.
time.tv_nsec > b.
time.tv_nsec)
return true;
124 if (a.
time.tv_sec > b.
time.tv_sec)
return false;
125 if (a.
time.tv_sec < b.
time.tv_sec)
return true;
126 if (a.
time.tv_nsec < b.
time.tv_nsec)
return true;
Posix implementation of CalendarTime.
Definition posixcalendartime.h:20
Internal filesystem wrapper for Posix.
Definition posixfswrapper.h:24
Implements a Posix-specific file-access time stamp.
Definition posixfiletime.h:19
uint GetLowBits() const
get log bits of internal time structure (resolution is platform dependent!)
Definition posixfiletime.h:74
void SetBits(uint lowbits, uint highbits)
set both parts of time (platform dependent)
Definition posixfiletime.h:83
friend bool operator<(const PosixFileTime &a, const PosixFileTime &b)
operator <
Definition posixfiletime.h:122
uint GetHighBits() const
get high bits of internal time structure (resolution is platform dependent!)
Definition posixfiletime.h:65
friend bool operator>(const PosixFileTime &a, const PosixFileTime &b)
operator >
Definition posixfiletime.h:110
friend bool operator!=(const PosixFileTime &a, const PosixFileTime &b)
operator !=
Definition posixfiletime.h:101
timespec time
Definition posixfiletime.h:48
PosixFileTime()
constructor
Definition posixfiletime.h:55
friend bool operator==(const PosixFileTime &a, const PosixFileTime &b)
operator ==
Definition posixfiletime.h:92
Util::String AsString() const
convert to string
Definition posixfiletime.cc:25
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21
bool operator==(const PosixFileTime &a, const PosixFileTime &b)
Definition posixfiletime.h:92
bool operator>(const PosixFileTime &a, const PosixFileTime &b)
Definition posixfiletime.h:110
bool operator<(const PosixFileTime &a, const PosixFileTime &b)
Definition posixfiletime.h:122
bool operator!=(const PosixFileTime &a, const PosixFileTime &b)
Definition posixfiletime.h:101
Nebula's universal string class.
Definition string.h:50
unsigned int uint
Definition types.h:31