13#ifndef __AUDACITY_TOOLDOCK__
14#define __AUDACITY_TOOLDOCK__
83 bool shouldAdopt =
true
91 friend inline bool operator ==
93 {
return lhs.
valid == rhs.valid &&
96 && lhs.
below == rhs.below
97 && lhs.
adopt == rhs.adopt
101 friend inline bool operator !=
103 {
return !(lhs == rhs); }
130 auto triple = &
mIters.back();
131 auto &children = triple->current->children;
132 if (children.empty()) {
133 while (++triple->current == triple->end) {
141 auto b = children.begin();
151 const auto &triple =
mIters.back();
159 if (triple.begin == triple.current)
171 std::vector<int> path;
172 path.reserve(
mIters.size());
173 for (
const auto &triple :
mIters)
174 path.push_back(triple.current - triple.begin);
178 friend inline bool operator ==
181 const auto &li = lhs.
mIters;
182 const auto &ri = rhs.mIters;
183 return li.size() == ri.size() &&
184 std::equal(li.begin(), li.end(), ri.begin());
187 friend inline bool operator !=
190 return !(lhs == rhs);
199 if (!forest.empty()) {
200 auto b = forest.begin();
215 friend inline bool operator ==
262 ToolBar *bar,
bool &visible,
bool defaultVisible);
324 void OnErase( wxEraseEvent & event );
325 void OnSize( wxSizeEvent & event );
326 void OnPaint( wxPaintEvent & event );
345 std::map<Identifier, ToolBar*>
mBars;
350 DECLARE_EVENT_TABLE()
static const AttachedProjectObjects::RegisteredFactory manager
An explicitly nonlocalized string, not meant for the user to see.
void swap(std::unique_ptr< Alg_seq > &a, std::unique_ptr< Alg_seq > &b)
A convenience for defining iterators that return rvalue types, so that they cooperate correctly with ...