dlr::common::CompileTimestamp Class Reference

The CompileTimestamp class permits user code to conveniently assess when it was compiled. More...

#include <compileTimestamp.h>

List of all members.

Public Member Functions

 CompileTimestamp ()
 The default constructor sets the internal state to reflect the time at which the compileTimestamp.h header was compiled.
 ~CompileTimestamp ()
 Destroys the CompileTimestamp instance.
std::string getISOString ()
 This member function returns a string of the form "YYYY-MM-DD hh:mm:ss" indicating the local time at which the file was compiled.


Detailed Description

The CompileTimestamp class permits user code to conveniently assess when it was compiled.

To use this class, simply include compileTimestamp.h and instantiate an instance of CompileTimestamp. This CompileTimestamp instance will reflect the time at which the source file was compiled.

Definition at line 41 of file compileTimestamp.h.


Constructor & Destructor Documentation

dlr::common::CompileTimestamp::CompileTimestamp (  )  [inline]

The default constructor sets the internal state to reflect the time at which the compileTimestamp.h header was compiled.

Definition at line 48 of file compileTimestamp.h.

dlr::common::CompileTimestamp::~CompileTimestamp (  )  [inline]

Destroys the CompileTimestamp instance.

Definition at line 59 of file compileTimestamp.h.


Member Function Documentation

std::string dlr::common::CompileTimestamp::getISOString (  ) 

This member function returns a string of the form "YYYY-MM-DD hh:mm:ss" indicating the local time at which the file was compiled.

Returns:
The return value is a string in ISO date/time format.

Definition at line 26 of file compileTimestamp.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 20:34:19 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2