#include <time_map.h>
Inheritance diagram for TimeEntry< Entry >:

Public Member Functions | |
| virtual | ~TimeEntry () |
| double | GetPosition () |
| bool | IsEditable () |
| void | SetPosition (double m_position) |
| void | SetEditable (bool m_is_editable) |
| virtual Entry * | Get (double position, Entry *ante)=0 |
Private Attributes | |
| double | position |
| bool | is_editable |
An implementation of a time entry extends this template:
class SomeEntry : public TimeEntry< SomeEntry > { public: int value;
SomeEntry *Get( double position, SomeEntry *ante ) { ... generate a new entry which is between this and ante ... } }
Definition at line 44 of file time_map.h.
|
|||||||||
|
Definition at line 51 of file time_map.h. 00051 { }
|
|
||||||||||||||||
|
Implemented in TimeMapValue, TimeMapPair, and TimeMapTriple. |
|
|||||||||
|
Definition at line 53 of file time_map.h. Referenced by TimeMapTriple::Get(), TimeMapPair::Get(), and TimeMapValue::Get(). 00053 { return position; }
|
|
|||||||||
|
Definition at line 55 of file time_map.h. 00055 { return is_editable; }
|
|
||||||||||
|
Definition at line 59 of file time_map.h. 00059 { is_editable = m_is_editable; }
|
|
||||||||||
|
Definition at line 57 of file time_map.h. 00057 { position = m_position; }
|
|
|||||
|
Definition at line 48 of file time_map.h. Referenced by TimeEntry< TimeMapTriple >::IsEditable(), and TimeEntry< TimeMapTriple >::SetEditable(). |
|
|||||
|
Definition at line 47 of file time_map.h. Referenced by TimeEntry< TimeMapTriple >::GetPosition(), and TimeEntry< TimeMapTriple >::SetPosition(). |
1.4.2