Audacity 3.2.0
|
#include <algorithm>
#include <functional>
#include <iterator>
#include <limits>
Go to the source code of this file.
Classes | |
struct | ValueIterator< Value, Category > |
A convenience for defining iterators that return rvalue types, so that they cooperate correctly with stl algorithms and std::reverse_iterator. More... | |
struct | IteratorRange< Iterator > |
A convenience for use with range-for. More... | |
struct | IteratorRange< Iterator >::identity< T > |
class | NumberIterator< Integral > |
struct | IotaRange< Integral > |
Functions | |
template<typename Iterator > | |
IteratorRange< Iterator > | make_iterator_range (const Iterator &i1, const Iterator &i2) |
template<typename Container > | |
IteratorRange< typename Container::iterator > | make_iterator_range (Container &container) |
template<typename Container > | |
IteratorRange< typename Container::const_iterator > | make_iterator_range (const Container &container) |
template<typename Container , typename Iterator , typename Function > | |
Container | transform_range (Iterator first, Iterator last, Function &&fn) |
template<typename OutContainer , typename InContainer , typename Function > | |
OutContainer | transform_container (InContainer &inContainer, Function &&fn) |
template<typename Range , typename Function > | |
void | for_each_in_range (Range &&range, Function &&fn) |
void for_each_in_range | ( | Range && | range, |
Function && | fn | ||
) |
Definition at line 246 of file IteratorX.h.
References fn.
Referenced by MIR::anonymous_namespace{GetMeterUsingTatumQuantizationFit.cpp}::GetMostLikelyMeterFromQuantizationExperiment(), MIR::anonymous_namespace{GetMeterUsingTatumQuantizationFit.cpp}::GetOnsetLag(), and MIR::anonymous_namespace{GetMeterUsingTatumQuantizationFit.cpp}::GetPossibleDivHierarchies().
IteratorRange< typename Container::const_iterator > make_iterator_range | ( | const Container & | container | ) |
Definition at line 224 of file IteratorX.h.
IteratorRange< Iterator > make_iterator_range | ( | const Iterator & | i1, |
const Iterator & | i2 | ||
) |
Definition at line 210 of file IteratorX.h.
Referenced by ShuttleGuiBase::AddChoice(), AudioIO::AllocateBuffers(), ChoiceEditor::BeginEdit(), PluginManager::CheckPluginUpdates(), ExportFFmpegOptions::FetchCompatibleCodecList(), AudioSetupToolBar::FillHosts(), DeviceToolBar::FillHosts(), AudioSetupToolBar::Choices::Find(), ExportFFmpegOptions::FindSelectedCodec(), ExportFFmpegOptions::FindSelectedFormat(), CommandManager::GetCategories(), AudioIOBase::GetClosestSupportedCaptureRate(), AudioIOBase::GetClosestSupportedSampleRate(), DevicePrefs::GetNamesAndLabels(), MidiIOPrefs::GetNamesAndLabels(), PluginManager::GetPlugin(), MP3ExportProcessor::Initialize(), AudioIOBase::IsCaptureRateSupported(), MacroCommands::IsFixed(), AudioIOBase::IsPlaybackRateSupported(), LangChoiceDialog::LangChoiceDialog(), Effect::LoadSettingsFromString(), MacroCommands::MacroCommands(), LabelDialog::OnChangeTrack(), LabelDialog::OnInsert(), LangChoiceDialog::OnOk(), EffectUIHost::OnSaveAs(), KeyConfigPrefs::OnSet(), LabelTrackMenuTable::OnSetFont(), NyquistBase::Parse(), ModuleManager::Providers(), ChoiceEditor::Reset(), AudioSetupToolBar::Choices::Set(), KeyConfigPrefs::SetKeyForSelected(), ShuttleGuiBase::TieChoice(), ShuttleGuiBase::TieNumberAsChoice(), NyquistBase::Tokenizer::Tokenize(), ShuttleGuiBase::TranslateToIndex(), and OptionValidator::Validate().
IteratorRange< typename Container::iterator > make_iterator_range | ( | Container & | container | ) |
Definition at line 217 of file IteratorX.h.
OutContainer transform_container | ( | InContainer & | inContainer, |
Function && | fn | ||
) |
Definition at line 239 of file IteratorX.h.
References fn.
Container transform_range | ( | Iterator | first, |
Iterator | last, | ||
Function && | fn | ||
) |
Definition at line 231 of file IteratorX.h.
References fn.