2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::TimeSec Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::TimeSec:

Ux::Base List of all members.

Detailed Description

Clearer replacement for Timet (time_t).

Definition at line 32 of file uxtime.hpp.

Public Member Functions

 TimeSec (time_t t)
 TimeSec (when w=epoch)
 operator time_t () const
void set (time_t t)
double diff (time_t time0)

Protected Attributes

time_t tt


Constructor & Destructor Documentation

Ux::TimeSec::TimeSec time_t  t  )  [inline]
 

Definition at line 37 of file uxtime.hpp.

TimeSec::TimeSec when  w = epoch  ) 
 

Constructor to set time to epoch or now.

Definition at line 188 of file uxtime.cpp.

References Ux::epoch, and tt.


Member Function Documentation

double TimeSec::diff time_t  time0  ) 
 

Subtracts TimeSec or time_t (calls difftime).

Definition at line 199 of file uxtime.cpp.

References difftime(), and tt.

Ux::TimeSec::operator time_t  )  const [inline]
 

Definition at line 41 of file uxtime.hpp.

void Ux::TimeSec::set time_t  t  )  [inline]
 

Definition at line 43 of file uxtime.hpp.


Member Data Documentation

time_t Ux::TimeSec::tt [protected]
 

Definition at line 34 of file uxtime.hpp.

Referenced by diff(), and TimeSec().


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:19 2004 for AUP2 Example Source by doxygen 1.3.1