Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

log4cpp::TimeStamp Class Reference

A simple TimeStamp abstraction. More...

#include <TimeStamp.hh>

List of all members.

Public Methods

 TimeStamp ()
 Constructs a TimeStamp representing 'now'.

 TimeStamp (unsigned int seconds, unsigned int microSeconds=0)
 Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC).

int getSeconds () const
int getMilliSeconds () const
int getMicroSeconds () const

Static Public Methods

const TimeStamp & getStartTime ()

Protected Attributes

int _seconds
int _microSeconds

Static Protected Attributes

TimeStamp _startStamp


Detailed Description

A simple TimeStamp abstraction.


Constructor & Destructor Documentation

log4cpp::TimeStamp::TimeStamp  
 

Constructs a TimeStamp representing 'now'.

log4cpp::TimeStamp::TimeStamp unsigned int    seconds,
unsigned int    microSeconds = 0
 

Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC).


Member Function Documentation

int log4cpp::TimeStamp::getMicroSeconds   const [inline]
 

int log4cpp::TimeStamp::getMilliSeconds   const [inline]
 

int log4cpp::TimeStamp::getSeconds   const [inline]
 

const TimeStamp& log4cpp::TimeStamp::getStartTime   [inline, static]
 


Member Data Documentation

int log4cpp::TimeStamp::_microSeconds [protected]
 

int log4cpp::TimeStamp::_seconds [protected]
 

TimeStamp log4cpp::TimeStamp::_startStamp [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Fri May 9 10:40:04 2003 for log4cpp by doxygen1.2.18