#include <Marker.h>
Classes | |
| struct | compareNameLess | 
| struct | compareTimeLess | 
| class | isNameEqual | 
Public Types | |
| typedef compareNameLess | sortByName | 
| typedef compareTimeLess | sortByTime | 
Public Member Functions | |
| Marker (void) | |
| Default constructor - initialize a Marker at time zero with no label.  | |
| Marker (double t, const std::string &s) | |
| Marker (const Marker &other) | |
| Marker & | operator= (const Marker &rhs) | 
| bool | operator< (const Marker &rhs) const | 
| std::string & | name (void) | 
| const std::string & | name (void) const | 
| double | time (void) const | 
| Return the time (in seconds) associated with this Marker.  | |
| void | setName (const std::string &s) | 
| Set the name of the Marker.  | |
| void | setTime (double t) | 
| Set the time (in seconds) associated with this Marker.  | |
Class Marker represents a labeled time point in a set of Partials or a vector of samples. Collections of Markers (see the MarkerContainer definition below) are held by the File I/O classes in Loris (AiffFile, SdifFile, and SpcFile) to identify temporal features in imported and exported data.
old name for compareNameLess, legacy support
old name for compareTimeLess, legacy support
| Loris::Marker::Marker | ( | double | t, | |
| const std::string & | s | |||
| ) | 
| Loris::Marker::Marker | ( | const Marker & | other | ) | 
| const std::string& Loris::Marker::name | ( | void | ) | const | 
Return a const reference to the name string for this Marker.
| std::string& Loris::Marker::name | ( | void | ) | 
Return a reference to the name string for this Marker.
| bool Loris::Marker::operator< | ( | const Marker & | rhs | ) | const | 
 1.6.2