TimelineEvent class. More...
Public Member Functions | |
def | __init__ (self, name='') |
Get ranges bounds. More... | |
def | add_event (self, event) |
Add Event. More... | |
def | get_bounds (self) |
Get Bounds. More... | |
def | get_events (self, start, end) |
Get Events. More... | |
def | get_events_bounds (self, start, end) |
Get Events Bounds. More... | |
def | sort (self) |
Sort function. More... | |
Public Attributes | |
events | |
events More... | |
name | |
name More... | |
Private Member Functions | |
def | __search (self, key) |
Search function. More... | |
TimelineEvent class.
def grid.TimelineEvent.__init__ | ( | self, | |
name = '' |
|||
) |
|
private |
Search function.
self | this object |
key | the key |
Definition at line 195 of file grid.py.
References grid.TimelineEvent.events.
Referenced by grid.TimelineEvent.get_events(), grid.TimelineEvent.get_events_bounds(), grid.TimelineDataRange.get_ranges(), and grid.TimelineDataRange.get_ranges_bounds().
def grid.TimelineEvent.add_event | ( | self, | |
event | |||
) |
Add Event.
self | this object |
event | event to add |
Definition at line 213 of file grid.py.
References grid.TimelineEvent.events.
def grid.TimelineEvent.get_bounds | ( | self | ) |
Get Bounds.
self | this object |
Definition at line 246 of file grid.py.
References grid.TimelineEvent.events.
def grid.TimelineEvent.get_events | ( | self, | |
start, | |||
end | |||
) |
Get Events.
self | this object |
start | starting event |
end | ending event |
Definition at line 220 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), and grid.TimelineEvent.events.
def grid.TimelineEvent.get_events_bounds | ( | self, | |
start, | |||
end | |||
) |
Get Events Bounds.
self | this object |
start | starting event |
end | ending event |
Definition at line 230 of file grid.py.
References grid.TimelineDataRange.__search(), and grid.TimelineEvent.__search().
def grid.TimelineEvent.sort | ( | self | ) |
Sort function.
self | this object |
Definition at line 240 of file grid.py.
References grid.TimelineEvent.events.
grid.TimelineEvent.events |
events
Definition at line 194 of file grid.py.
Referenced by grid.TimelineEvent.__search(), grid.TimelineEvent.add_event(), grid.TimelineEvent.get_bounds(), grid.TimelineEvent.get_events(), and grid.TimelineEvent.sort().