- [Main Page](index.md)
- [Classes](annotated.md)
- [Files](files.md)
- [Directories](dirs.md)
- [Related Pages](pages.md)
- [Class List](annotated.md)
- [Alphabetical List](classes.md)
- [Class Hierarchy](hierarchy.md)
- [Class Members](functions.md)
TimeRange Class Reference¶
#include <TimeRang.h>
Collaboration diagram for TimeRange:
Collaboration graph
[legend]
Public Types |
|
| enum | RangeType { RT_NEVER, RT_FOREVER } |
Public Member Functions |
|
| TimeRange () | |
| TimeRange (RangeType rt) | |
| TimeRange (Time time) | |
| TimeRange (const TimeRange &other) | |
| TimeRange (Time start, Time end) | |
| ~TimeRange () | |
| TimeRange & | operator= (const TimeRange &other) |
| void | Set (Time start, Time end) |
| void | SetNever () |
| void | SetForever () |
| Time | GetLength () const |
| BOOL | IsValid () |
| BOOL | IsIntersect (const TimeRange &range) const |
| BOOL | IsTimeInRange (Time time) const |
| BOOL | IsTimeWithinRange (Time time) const |
| BOOL | IsRangeInRange (const TimeRange &range) const |
| BOOL | IsActiveHere (Time time) const |
| BOOL | operator== (const TimeRange &other) |
| BOOL | operator!= (const TimeRange &other) |
| void | operator|= (const TimeRange &other) |
| void | operator|= (Time time) |
| void | operator &= (const TimeRange &other) |
| void | operator &= (Time time) |
| void | operator+= (Time time) |
| TimeRange | operator+ (Time time) const |
| void | operator-= (Time time) |
| TimeRange | operator- (Time time) const |
| void | operator *= (float n) |
| TimeRange | operator * (float n) const |
| void | Union (Time time) |
| BOOL | IsInstance () |
Public Attributes |
|
| Time | m_start |
| Time | m_end |