a time segment definition and operations More...
Public Member Functions | |
| TimeSegment () | |
| TimeSegment (const TimeSegment &s) | |
| TimeSegment (const GuidoDate &a, const GuidoDate &b) | |
| virtual | ~TimeSegment () |
| void | print (std::ostream &out) const |
| print the time segment | |
| bool | empty () const |
| check for empty segment | |
| bool | intersect (const TimeSegment &ts) const |
| check for segments intersection | |
| bool | include (const GuidoDate &date) const |
| check for date inclusion | |
| bool | include (const TimeSegment &ts) const |
| check for segment inclusion | |
| bool | operator< (const TimeSegment &ts) const |
| order relationship: the smaller is the smaller first date | |
| bool | operator== (const TimeSegment &ts) const |
| TimeSegment | operator& (const TimeSegment &ts) const |
| intersection operation (may return an arbitrary empty segment) | |
a time segment definition and operations
| TimeSegment | ( | ) | [inline] |
| TimeSegment | ( | const TimeSegment & | s ) | [inline] |
| TimeSegment | ( | const GuidoDate & | a, |
| const GuidoDate & | b | ||
| ) | [inline] |
| virtual ~TimeSegment | ( | ) | [inline, virtual] |
| void print | ( | std::ostream & | out ) | const |
print the time segment
Referenced by operator<<().
| bool empty | ( | ) | const |
check for empty segment
| bool intersect | ( | const TimeSegment & | ts ) | const |
check for segments intersection
| bool include | ( | const GuidoDate & | date ) | const |
check for date inclusion
| bool include | ( | const TimeSegment & | ts ) | const |
check for segment inclusion
| bool operator< | ( | const TimeSegment & | ts ) | const |
order relationship: the smaller is the smaller first date
| bool operator== | ( | const TimeSegment & | ts ) | const |
| TimeSegment operator& | ( | const TimeSegment & | ts ) | const |
intersection operation (may return an arbitrary empty segment)
1.7.2 - © Grame Research Lab.