#include <TimeRang.h>
Collaboration diagram for TimeRange:
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 |
Definition at line 16 of file TimeRang.h.
|
Definition at line 20 of file TimeRang.h. |
|
Definition at line 22 of file TimeRang.h. References SetNever(). Here is the call graph for this function: ![]() |
|
Definition at line 26 of file TimeRang.h. References RT_FOREVER, RT_NEVER, SetForever(), and SetNever(). Here is the call graph for this function: ![]() |
|
Definition at line 37 of file TimeRang.h. |
|
Definition at line 42 of file TimeRang.h. |
|
Definition at line 47 of file TimeRang.h. |
|
Definition at line 52 of file TimeRang.h. |
|
Definition at line 75 of file TimeRang.h. |
|
Definition at line 99 of file TimeRang.h. |
|
Definition at line 177 of file TimeRang.h. |
|
Definition at line 83 of file TimeRang.h. |
|
Definition at line 95 of file TimeRang.h. |
|
Definition at line 87 of file TimeRang.h. References m_end, and m_start. Referenced by operator &=(). |
|
Definition at line 91 of file TimeRang.h. |
|
Definition at line 79 of file TimeRang.h. |
|
Definition at line 128 of file TimeRang.h. References IsTimeInRange(), m_end, m_start, and SetNever(). Here is the call graph for this function: ![]() |
|
Definition at line 121 of file TimeRang.h. References m_end, m_start, MAX, MIN, and SetNever(). Here is the call graph for this function: ![]() |
|
Definition at line 166 of file TimeRang.h. |
|
Definition at line 161 of file TimeRang.h. |
|
Definition at line 107 of file TimeRang.h. |
|
Definition at line 143 of file TimeRang.h. |
|
Definition at line 137 of file TimeRang.h. |
|
Definition at line 155 of file TimeRang.h. |
|
Definition at line 149 of file TimeRang.h. |
|
Definition at line 54 of file TimeRang.h. |
|
Definition at line 103 of file TimeRang.h. |
|
Definition at line 116 of file TimeRang.h. |
|
Definition at line 111 of file TimeRang.h. |
|
Definition at line 60 of file TimeRang.h. |
|
Definition at line 70 of file TimeRang.h. References m_end, m_start, and MAXTIME. Referenced by TimeRange(). |
|
Definition at line 65 of file TimeRang.h. References m_end, m_start, and MAXTIME. Referenced by operator &=(), and TimeRange(). |
|
Definition at line 172 of file TimeRang.h. |
|
Definition at line 18 of file TimeRang.h. Referenced by GetLength(), IsActiveHere(), IsInstance(), IsIntersect(), IsRangeInRange(), IsTimeInRange(), IsTimeWithinRange(), IsValid(), operator &=(), operator *=(), operator+=(), operator-=(), operator=(), operator==(), operator|=(), Set(), SetForever(), SetNever(), TimeRange(), and Union(). |
|
Definition at line 18 of file TimeRang.h. Referenced by GetLength(), IsActiveHere(), IsInstance(), IsIntersect(), IsRangeInRange(), IsTimeInRange(), IsTimeWithinRange(), IsValid(), operator &=(), operator *=(), operator+=(), operator-=(), operator=(), operator==(), operator|=(), Set(), SetForever(), SetNever(), TimeRange(), and Union(). |
Generated on Thu Oct 27 11:47:04 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001