Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Rosegarden::Composition::ReferenceSegment Class Reference

#include <Composition.h>

Inheritance diagram for Rosegarden::Composition::ReferenceSegment:

FastVector< T >

List of all members.

Detailed Description

This is a bit like a segment, but can only contain one sort of event, and can only have one event at each absolute time

Definition at line 871 of file Composition.h.

Public Types

typedef Impl::difference_type difference_type
typedef Impl::iterator iterator
typedef Impl::size_type size_type
typedef T value_type

Public Member Functions

virtual T * array (size_type index, size_type count)
const T & at (size_type index) const
T & at (size_type index)
virtual const_iterator begin () const
virtual iterator begin ()
void clear ()
bool empty () const
virtual const_iterator end () const
virtual iterator end ()
virtual iterator erase (const iterator &i, const iterator &j)
virtual iterator erase (const iterator &i)
void erase (Event *e)
iterator findNearestRealTime (RealTime time)
iterator findNearestTime (timeT time)
iterator findRealTime (RealTime time)
iterator findTime (timeT time)
timeT getDuration () const
std::string getEventType () const
template<class InputIterator>
FastVector< T >::iterator insert (const FastVector< T >::iterator &p, InputIterator &i, InputIterator &j)
template<class InputIterator>
iterator insert (const iterator &p, InputIterator &i, InputIterator &j)
virtual iterator insert (const iterator &p, const T &t)
iterator insert (Event *e)
 Inserts a single event, removing any existing one at that time.
bool operator!= (const FastVector< T > &v) const
bool operator< (const FastVector< T > &) const
bool operator<= (const FastVector< T > &) const
bool operator== (const FastVector< T > &) const
bool operator> (const FastVector< T > &) const
bool operator>= (const FastVector< T > &) const
const T & operator[] (size_type index) const
T & operator[] (size_type index)
virtual void push_back (const T &item)
virtual void push_front (const T &item)
virtual const_reverse_iterator rbegin () const
virtual reverse_iterator rbegin ()
 ReferenceSegment (std::string eventType)
virtual const_reverse_iterator rend () const
virtual reverse_iterator rend ()
size_type size () const
void swap (FastVector< T > &v)
 not all of these are defined yet

Protected Member Functions

virtual void insert (size_type index, const T &)
 basic insert -- all others call this
virtual void remove (size_type index)
 basic remove -- erase(), clear() call this

Private Types

typedef FastVector< Event * > Impl

Private Member Functions

iterator find (Event *e)
ReferenceSegmentoperator= (const ReferenceSegment &)
 ReferenceSegment (const ReferenceSegment &)

Private Attributes

std::string m_eventType

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index