#include <TmTime.h>
Public Member Functions | |
| virtual std::string | getTime () |
| get the time that this object represents | |
| virtual std::string | getTimeName () |
| get the name of the timer on which this time is specified. | |
| virtual void | set (std::string timer_name, std::string time) |
| set everything | |
| virtual void | setTime (std::string t) |
| set the time | |
| virtual void | setTimeName (std::string t) |
| set the timer name | |
| TmTime (std::string timer_name, std::string time) | |
| constructor | |
Protected Attributes | |
| std::string | time_ |
| a string representation of time meaningful on a particular timer | |
| std::string | timer_name_ |
| the timer on which the specified time is meaningful | |
Associates a string representation of a time interval with a timer name on which the interval makes sense.
Definition at line 37 of file TmTime.h.
| TmTime | ( | std::string | timer_name, | |
| std::string | time | |||
| ) |
constructor
| timer_name | the timer on which the specified time is meaningful | |
| time | a string representing a point in time on a given timer |
Definition at line 24 of file TmTime.cpp.
| std::string getTime | ( | ) | [virtual] |
get the time that this object represents
Definition at line 39 of file TmTime.cpp.
References TmTime::time_.
| std::string getTimeName | ( | ) | [virtual] |
get the name of the timer on which this time is specified.
Definition at line 46 of file TmTime.cpp.
References TmTime::timer_name_.
| void set | ( | std::string | timer_name, | |
| std::string | time | |||
| ) | [virtual] |
set everything
| timer_name | name of the timer | |
| time | string representing the time |
Definition at line 32 of file TmTime.cpp.
References TmTime::time_, and TmTime::timer_name_.
| void setTime | ( | std::string | t | ) | [virtual] |
set the time
| t | string representing the time |
Definition at line 52 of file TmTime.cpp.
References TmTime::time_.
| void setTimeName | ( | std::string | t | ) | [virtual] |
set the timer name
| t | string representing the time |
Definition at line 58 of file TmTime.cpp.
References TmTime::timer_name_.
1.5.6