OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TFileTime Class Reference

TFileTime is a class derived from the structure FILETIME. More...

#include <owl/wsyscls.h>

Inheritance diagram for owl::TFileTime:

Public Member Functions

 TFileTime ()
 Constructs a empty TFileTime object.
 TFileTime (const TSystemTime &tm)
 Constructs a TFileTime object from system time.
 TFileTime (const TFileTime &tm)
 Constructs a TFileTime object from given TFileTime.
 TFileTime (const FILETIME &tm)
 Constructs a TFileTime object from given FILETIME.
 TFileTime (const TTime &tm)
TFileTime & operator= (const TTime &tm)
bool ToLocalTime ()
bool ToLocalTime (TFileTime &tm) const
bool ToUniversalTime ()
bool ToUniversalTime (TFileTime &tm) const
bool operator< (const TFileTime &t) const
bool operator<= (const TFileTime &t) const
bool operator> (const TFileTime &t) const
bool operator>= (const TFileTime &t) const
bool operator== (const TFileTime &t) const
bool operator!= (const TFileTime &t) const

Friends

opstream & operator<< (opstream &s, const TFileTime &d)
ipstream & operator>> (ipstream &s, TFileTime &d)

Detailed Description

TFileTime is a class derived from the structure FILETIME.

The FILETIME struct is defined as

struct tagFILETIME {
uint32 dwLowDateTime;
uint32 dwHighDateTime;
} FILETIME;
unsigned long uint32
Definition number.h:34

Definition at line 361 of file wsyscls.h.

Constructor & Destructor Documentation

◆ TFileTime() [1/5]

owl::TFileTime::TFileTime ( )
inline

Constructs a empty TFileTime object.

Definition at line 365 of file wsyscls.h.

◆ TFileTime() [2/5]

owl::TFileTime::TFileTime ( const TSystemTime & tm)
inline

Constructs a TFileTime object from system time.

Definition at line 566 of file wsyscls.h.

◆ TFileTime() [3/5]

owl::TFileTime::TFileTime ( const TFileTime & tm)
inline

Constructs a TFileTime object from given TFileTime.

Definition at line 370 of file wsyscls.h.

References TFileTime().

◆ TFileTime() [4/5]

owl::TFileTime::TFileTime ( const FILETIME & tm)
inline

Constructs a TFileTime object from given FILETIME.

Definition at line 373 of file wsyscls.h.

◆ TFileTime() [5/5]

owl::TFileTime::TFileTime ( const TTime & tm)

Definition at line 158 of file wsyscls.cpp.

References owl::TTime::GetFileTime().

Member Function Documentation

◆ operator!=()

bool owl::TFileTime::operator!= ( const TFileTime & t) const
inline

Definition at line 550 of file wsyscls.h.

References TFileTime().

◆ operator<()

bool owl::TFileTime::operator< ( const TFileTime & t) const
inline

Definition at line 520 of file wsyscls.h.

References TFileTime().

◆ operator<=()

bool owl::TFileTime::operator<= ( const TFileTime & t) const
inline

Definition at line 530 of file wsyscls.h.

References TFileTime().

◆ operator=()

TFileTime & owl::TFileTime::operator= ( const TTime & tm)

Definition at line 167 of file wsyscls.cpp.

References owl::TTime::GetFileTime().

◆ operator==()

bool owl::TFileTime::operator== ( const TFileTime & t) const
inline

Definition at line 555 of file wsyscls.h.

References TFileTime().

◆ operator>()

bool owl::TFileTime::operator> ( const TFileTime & t) const
inline

Definition at line 535 of file wsyscls.h.

References TFileTime().

◆ operator>=()

bool owl::TFileTime::operator>= ( const TFileTime & t) const
inline

Definition at line 545 of file wsyscls.h.

References TFileTime().

◆ ToLocalTime() [1/2]

bool owl::TFileTime::ToLocalTime ( )

Definition at line 176 of file wsyscls.cpp.

References TFileTime().

◆ ToLocalTime() [2/2]

bool owl::TFileTime::ToLocalTime ( TFileTime & tm) const
inline

Definition at line 380 of file wsyscls.h.

References TFileTime().

◆ ToUniversalTime() [1/2]

bool owl::TFileTime::ToUniversalTime ( )

Definition at line 184 of file wsyscls.cpp.

References TFileTime().

◆ ToUniversalTime() [2/2]

bool owl::TFileTime::ToUniversalTime ( TFileTime & tm) const
inline

Definition at line 384 of file wsyscls.h.

References TFileTime().

◆ operator<<

opstream & operator<< ( opstream & s,
const TFileTime & d )
friend

Definition at line 30 of file timep.cpp.

References TFileTime(), and _OWLCFUNC.

◆ operator>>

ipstream & operator>> ( ipstream & s,
TFileTime & d )
friend

Definition at line 36 of file timep.cpp.

References TFileTime(), and _OWLCFUNC.


The documentation for this class was generated from the following files: