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 201 of file grid.py.
References grid.TimelineEvent.events.
Referenced by grid.TimelineEvent.get_events(), and grid.TimelineEvent.get_events_bounds().
def grid.TimelineEvent.add_event | ( | self, | |
event | |||
) |
Add Event.
self | this object |
event | event to add |
Definition at line 219 of file grid.py.
References grid.TimelineEvent.events.
def grid.TimelineEvent.get_bounds | ( | self | ) |
Get Bounds.
self | this object |
Definition at line 252 of file grid.py.
References grid.TimelineEvent.events, and return.
def grid.TimelineEvent.get_events | ( | self, | |
start, | |||
end | |||
) |
Get Events.
self | this object |
start | starting event |
end | ending event |
Definition at line 226 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 236 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), and return.
def grid.TimelineEvent.sort | ( | self | ) |
Sort function.
self | this object |
Definition at line 246 of file grid.py.
References grid.TimelineEvent.events.
grid.TimelineEvent.events |
events
Definition at line 200 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().