log4cpp::TimeStamp man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

log4cpp::TimeStamp(3)		    log4cpp		 log4cpp::TimeStamp(3)

NAME
       log4cpp::TimeStamp -

       A simple TimeStamp abstraction.

SYNOPSIS
       #include <TimeStamp.hh>

   Public Member Functions
       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
	   Returns the 'seconds' part of the TimeStamp.
       int getMilliSeconds () const
	   Returns the 'subseconds' part of the TimeStamp in milliseconds,
	   getMilliSeconds() == getMicroSeconds() / 1000.
       int getMicroSeconds () const
	   Returns the subsecond part of the TimeStamp in microseconds.

   Static Public Member Functions
       static const TimeStamp & getStartTime ()
	   Returns a TimeStamp representing the time at which the application
	   started.

   Protected Attributes
       int _seconds
       int _microSeconds

   Static Protected Attributes
       static 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]
       Returns the subsecond part of the TimeStamp in microseconds. The actual
       precision of this value depends on the platform and may be in the order
       of milliseconds rather than microseconds.

   int log4cpp::TimeStamp::getMilliSeconds () const [inline]
       Returns the 'subseconds' part of the TimeStamp in milliseconds,
       getMilliSeconds() == getMicroSeconds() / 1000.

   int log4cpp::TimeStamp::getSeconds () const [inline]
       Returns the 'seconds' part of the TimeStamp.

   static const TimeStamp& log4cpp::TimeStamp::getStartTime () [inline,
       static]
       Returns a TimeStamp representing the time at which the application
       started.

Member Data Documentation
   int log4cpp::TimeStamp::_microSeconds [protected]
   int log4cpp::TimeStamp::_seconds [protected]
   TimeStamp log4cpp::TimeStamp::_startStamp [static, protected]
Author
       Generated automatically by Doxygen for log4cpp from the source code.

Version 1.0			  23 Nov 2010		 log4cpp::TimeStamp(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net