annotatorcomm::Timestamp Class Reference

#include <Timestamp.h>

Inheritance diagram for annotatorcomm::Timestamp:

annotatorcomm::IrigBTimestamp annotatorcomm::MicrosecondTimestamp annotatorcomm::annotatorjr::TriggerTimestamp List of all members.

Public Member Functions

virtual int getYear () const =0
virtual int getDayOfYear () const =0
virtual int getSecondOfDay () const =0
virtual int getHourOfDay () const
virtual int getMinuteOfHour () const
virtual int getSecondOfMinute () const
virtual long getMicrosecond () const =0
virtual string getFormattedTime () const
virtual string getExtendedFormatTime () const
virtual bool operator== (Timestamp &other) const
virtual bool operator< (Timestamp &other) const
virtual bool operator> (Timestamp &other) const

Detailed Description

Timestamp

Definition at line 28 of file Timestamp.h.


Member Function Documentation

virtual int annotatorcomm::Timestamp::getDayOfYear (  )  const [pure virtual]

Get the day of year.

Returns:
day

Implemented in annotatorcomm::IrigBTimestamp, and annotatorcomm::MicrosecondTimestamp.

virtual string annotatorcomm::Timestamp::getExtendedFormatTime (  )  const [virtual]

Format the time and any extended information into a human readable string.

Returns:
human readable timestamp with extended information

Reimplemented in annotatorcomm::IrigBTimestamp.

virtual string annotatorcomm::Timestamp::getFormattedTime (  )  const [virtual]

Format the time into a human readable string.

Returns:
human readable timestamp

virtual int annotatorcomm::Timestamp::getHourOfDay (  )  const [virtual]

Get the hour of day.

Returns:
hour

Reimplemented in annotatorcomm::IrigBTimestamp.

virtual long annotatorcomm::Timestamp::getMicrosecond (  )  const [pure virtual]

Get the microsecond of the second.

Returns:
microsecond

Implemented in annotatorcomm::IrigBTimestamp, and annotatorcomm::MicrosecondTimestamp.

virtual int annotatorcomm::Timestamp::getMinuteOfHour (  )  const [virtual]

Get the minute of the hour.

Returns:
minute

Reimplemented in annotatorcomm::IrigBTimestamp.

virtual int annotatorcomm::Timestamp::getSecondOfDay (  )  const [pure virtual]

Get the second of the day.

Returns:
second

Implemented in annotatorcomm::IrigBTimestamp, and annotatorcomm::MicrosecondTimestamp.

virtual int annotatorcomm::Timestamp::getSecondOfMinute (  )  const [virtual]

Get the second of the minute.

Returns:
second

Reimplemented in annotatorcomm::IrigBTimestamp.

virtual int annotatorcomm::Timestamp::getYear (  )  const [pure virtual]

Get the year.

Returns:
year

Implemented in annotatorcomm::IrigBTimestamp, and annotatorcomm::MicrosecondTimestamp.

virtual bool annotatorcomm::Timestamp::operator< ( Timestamp other  )  const [virtual]

Overload less than operator.

Parameters:
other comparison timestamp
Returns:
this < other

virtual bool annotatorcomm::Timestamp::operator== ( Timestamp other  )  const [virtual]

Overload equality operator.

Parameters:
other comparison timestamp
Returns:
equality

virtual bool annotatorcomm::Timestamp::operator> ( Timestamp other  )  const [virtual]

Overload greater than operator.

Parameters:
other comparison timestamp
Returns:
this > other


The documentation for this class was generated from the following file:
Generated on Tue Aug 1 11:14:11 2006 for libAnnotatorComm by  doxygen 1.4.7