class List |
List of events
| List () Default constructor | |
| List (const char* filename, bool keepforever = true) Constructor | |
| Copy () const Copy the event | |
| Size () const Size | |
| Empty () const Empty | |
| MaxSize () const Maximum Size | |
| Capacity () const Capacity | |
| Reserve (size_type num) Capacity | |
| operator== (const List& l) const Equality | |
| operator!= (const List& l) const Equality | |
| CheckOrder () const Check order | |
| Swap (List& l) Swap | |
| LowerBound (const Time& t) Lower bound | |
| LowerBound (const Time& t) const Lower bound | |
| UpperBound (const Time& t) Upper bound | |
| UpperBound (const Time& t) const Upper bound | |
| LowerBound (const Event& t) Lower bound | |
| LowerBound (const Event& t) const Lower bound | |
| UpperBound (const Event& t) Upper bound | |
| UpperBound (const Event& t) const Upper bound | |
| Sort () Sort | |
| Sort (const Function& func, bool ascending = true) Sort | |
| At (size_type idx) At | |
| At (size_type idx) const At | |
| operator[] (size_type idx) Operator[] | |
| operator[] (size_type idx) const Operator[] | |
| Front () Front | |
| Front () const Front | |
| Back () Back | |
| Back () const Back | |
| Begin () Begin | |
| Begin () const Begin | |
| End () End | |
| End () const End | |
| RBegin () RBegin | |
| RBegin () const RBegin | |
| REnd () REnd | |
| REnd () const REnd | |
| Insert (const Event& event) Add | |
| Insert (const iterator& pos, const Event& event) Add | |
| Insert (const iterator& beg, const iterator& end) Add | |
| PushBack (const Event& event) PushBack | |
| Erase (const iterator& pos) Erase | |
| Erase (const iterator& beg, const iterator& end) Erase | |
| PopBack () PopBack | |
| Clear () Clear | |
| GetState () const Get the state | |
| Load (bool keepforever = true) Load | |
| Load (const char* filename, bool keepforever = true) Load | |
| Unload () Unload | |
| Save (const char* filename) const Save | |
| SetFilename (const char* filename) Set the filename | |
| GetFilename () const Get the filename |
| state State of the event list | |
| eventlist Event list basic type | |
| value_type Value type | |
| size_type Size type | |
| difference_type Difference type | |
| reference Reference type | |
| const_reference Const reference type | |
| pointer Pointer type | |
| const_pointer Const pointer type | |
| iterator Iterator | |
| const_iterator Const iterator | |
| reverse_iterator Iterator | |
| const_reverse_iterator Const iterator |
An event list contains a series of events. An event list is sorted in time. An event list has the following four states: (1) Empty: An empty list contains nothing and has not been loaded from file; (2) Loaded: A loaded event list has been read from file and is still in its original state (meaning it can be unloaded again); (3) Locked: A locked event list is loaded but can not be discared; and (4) Modified: The event list was modified by the user (meaning it can not be unloaded).An event list contains events ordered by time with the oldest event being stored first. For efficiency reasons List provides algorithms which let you add events without checking that they are in correct orderer. In this case the user has to guarantee that the sort order is maintained, or call the Sort method afterwards.
Alphabetic index HTML hierarchy of classes or Java
Please send questions and comments to zweizig_j@ligo-wa.caltech.edu