#include <SSA_Time.h>
Public Member Functions | |
| SSA_Time (void) | |
| The Constructor. | |
| ~SSA_Time (void) | |
| The Destructor. | |
| SSA_Time | operator+ (SSA_Time Time2) |
| Operator + overload (between 2 SSA_Time). | |
| SSA_Time | operator- (SSA_Time Time2) |
| Operator - overload (between 2 SSA_Time). | |
| SSA_Time | operator/ (int divisor) |
| Operator / overload (with an integer). | |
| bool | operator<= (SSA_Time Time2) |
| Overloaded operator <. | |
| bool | operator>= (SSA_Time Time2) |
| Overloaded operator >. | |
| void | ParseSSA_Time (char *Time) |
| Parse a string contening a time. | |
| char * | Tostring () |
| Convert the class into a string. | |
Data Fields | |
| int | Hour |
| Stock the numbers of hour. | |
| int | Minute |
| Stock the numbers of minutes. | |
| int | Second |
| Stock the numbers of seconds. | |
| int | Milisecond |
| Stock the numbers of miliseconds. | |
| char | Retour [11] |
| Stock data for string conversion. | |
This class store the time and allow some basics operation Utilised in C_Events_List
|
|
The Constructor. Set to 0 all the values |
|
|
The Destructor. Do absolutely nothing |
|
|
Operator + overload (between 2 SSA_Time).
|
|
|
Operator - overload (between 2 SSA_Time). This operator allow to get easely a duration
|
|
|
Operator / overload (with an integer). Used to determine the half duration for spliting events
|
|
|
Overloaded operator <. Can determine if a time is after this.
|
|
|
Overloaded operator >. Can determine if a time is before this.
|
|
|
Parse a string contening a time. The string can come from an text edit or a file
|
|
|
Convert the class into a string. The string can be displayed or writed into a .ssa file
|
|
|
Stock the numbers of hour.
|
|
|
Stock the numbers of miliseconds.
|
|
|
Stock the numbers of minutes.
|
|
|
Stock data for string conversion. Used only in Tostring()
|
|
|
Stock the numbers of seconds.
|
1.3