![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents an interval between two TSLTimeInstant objects.
TSLTimeInterval (TSLTime64 dt=0) | |
TSLTime64 | theInterval () const |
TSLTimeInterval & | operator+= (TSLTimeInterval const &dt) |
TSLTimeInterval & | operator-= (TSLTimeInterval const &dt) |
TSLTimeInterval const | operator+ (TSLTimeInterval const &dt) const |
TSLTimeInterval const | operator- (TSLTimeInterval const &dt) const |
TSLTimeInterval & | operator*= (double f) |
static TSLTimeInterval | nullInterval () |
|
inline |
Constructor. Sets the time interval to the supplied value.
time | A 64-bit value representing the time interval. Default = 0. |
|
inlinestatic |
Static method to create an empty interval.
|
inline |
Scales the time interval by the given amount.
f | The value to scale the interval by. |
|
inline |
Returns a new interval representing the sum of this interval and the given interval.
dt | The time interval to add. |
|
inline |
Increments the interval by the given time interval.
dt | The time interval to increment by. |
|
inline |
Returns a new interval representing the difference between this interval and the given interval.
dt | The time interval to subtract. |
|
inline |
Decrements the interval by the given time interval.
dt | The time interval to decrement by. |
|
inline |
Returns a value representing the raw interval.