MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes | Friends
mds::sys::CTimestamp Class Reference

Timestamp class representing an event time and description. More...

#include <mdsTimestamp.h>

List of all members.

Public Member Functions

 CTimestamp (const std::string &sDescription)
 Timestamp constructor.
 CTimestamp (const CTimestamp &Timestamp)
 Copy constructor.
const std::string & getDescription ()
 Returns the description.
virtual ~CTimestamp ()
 Destructor.

Protected Attributes

std::string m_sDescription
 Timestamp description.

Friends

std::ostream & operator<< (std::ostream &Stream, const CTimestamp &Time)
 Writes the time into the output stream in human readable form.

Detailed Description

Timestamp class representing an event time and description.


Constructor & Destructor Documentation

mds::sys::CTimestamp::CTimestamp ( const std::string &  sDescription)

Timestamp constructor.

Copy constructor.

virtual mds::sys::CTimestamp::~CTimestamp ( ) [virtual]

Destructor.


Member Function Documentation

const std::string& mds::sys::CTimestamp::getDescription ( )

Returns the description.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const CTimestamp Time 
) [friend]

Writes the time into the output stream in human readable form.


Member Data Documentation

std::string mds::sys::CTimestamp::m_sDescription [protected]

Timestamp description.


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