Time Class Reference

for now, a simple wrapper around timestamps. More...

#include <time.h>

List of all members.

Public Member Functions

 Time (int timestamp_=0)
string str (const std::string &format="%c") const
string datestr () const
bool operator> (const Time &other) const
bool operator< (const Time &other) const

Static Public Member Functions

static Time fromBigEndianChars32 (const unsigned char *start)

Public Attributes

int timestamp

Friends

std::ostream & operator<< (std::ostream &o, const Time &d)


Detailed Description

for now, a simple wrapper around timestamps.

Constructor & Destructor Documentation

Time::Time ( int  timestamp_ = 0  )  [inline]

Referenced by fromBigEndianChars32().


Member Function Documentation

string Time::datestr (  )  const [inline]

References str().

Referenced by esmfile::name(), and Activities::name().

static Time Time::fromBigEndianChars32 ( const unsigned char *  start  )  [inline, static]

References Time().

Referenced by vublock::readDate().

bool Time::operator< ( const Time other  )  const [inline]

References timestamp.

bool Time::operator> ( const Time other  )  const [inline]

References timestamp.

string Time::str ( const std::string &  format = "%c"  )  const [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const Time d 
) [friend]


Member Data Documentation


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

Generated on Tue May 19 19:42:01 2009 by  doxygen 1.5.8