48 for (RegionSelection::const_iterator i = other.begin(); i != other.end(); ++i) {
63 for (RegionSelection::const_iterator i = other.begin(); i != other.end(); ++i) {
87 return find (begin(), end(), rv) != end();
136 RegionSelection::iterator r;
138 if ((r = find (begin(), end(), rv)) != end()) {
158 list<RegionView*>::iterator i;
162 if (rv->
region()->
layer() < (*i)->region()->layer()) {
186 list<RegionView*>::const_iterator i;
218 list<RegionView*>::const_iterator i;
246 for (RegionSelection::const_iterator i = begin(); i != end(); ++i) {
247 if (&(*i)->get_time_axis_view() == &tv) {
258 for (RegionSelection::const_iterator i = begin(); i != end(); ++i) {
259 s = min (s, (*i)->region()->position ());
273 for (RegionSelection::const_iterator i = begin(); i != end(); ++i) {
274 e = max (e, (*i)->region()->last_frame ());
281 set<boost::shared_ptr<Playlist> >
284 set<boost::shared_ptr<Playlist> > pl;
285 for (RegionSelection::const_iterator i = begin(); i != end(); ++i) {
286 pl.insert ((*i)->region()->playlist ());
297 for (const_iterator r = begin(); r != end(); ++r) {
std::list< PBD::ID > pending
static PBD::Signal1< void, RegionView * > RegionViewGoingAway
void by_track(std::list< RegionView * > &) const
TimeAxisView & get_time_axis_view() const
bool operator()(const RegionView *a, const RegionView *b)
void sort_by_position_and_track()
bool remove(RegionView *)
bool operator()(const RegionView *a, const RegionView *b) const
framepos_t end_frame() const
void remove_it(RegionView *)
size_t n_midi_regions() const
void by_position(std::list< RegionView * > &) const
bool contains(RegionView *) const
boost::shared_ptr< ARDOUR::Region > region() const
RegionSelection & operator=(const RegionSelection &)
bool involves(const TimeAxisView &) const
framepos_t position() const
std::set< boost::shared_ptr< ARDOUR::Playlist > > playlists() const
std::list< RegionView * > _bylayer
list of regions sorted by layer
static const framepos_t max_framepos
#define MISSING_INVALIDATOR
PBD::ScopedConnection death_connection
void add_to_layer(RegionView *)
boost::shared_ptr< ARDOUR::Playlist > playlist() const