![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Timestamp class representing an event time and description. More...
#include <mdsTimestamp.h>
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. | |
Timestamp class representing an event time and description.
| mds::sys::CTimestamp::CTimestamp | ( | const std::string & | sDescription | ) |
Timestamp constructor.
| mds::sys::CTimestamp::CTimestamp | ( | const CTimestamp & | Timestamp | ) |
Copy constructor.
| virtual mds::sys::CTimestamp::~CTimestamp | ( | ) | [virtual] |
Destructor.
| const std::string& mds::sys::CTimestamp::getDescription | ( | ) |
Returns the description.
| std::ostream& operator<< | ( | std::ostream & | Stream, |
| const CTimestamp & | Time | ||
| ) | [friend] |
Writes the time into the output stream in human readable form.
std::string mds::sys::CTimestamp::m_sDescription [protected] |
Timestamp description.
1.7.6.1