Audacity 3.2.0
|
Classes | |
struct | Item |
Public Types | |
using | Iterator = decltype(items)::iterator |
using | NewItem = std::pair< BaseItem *, OrderingHint > |
using | NewItems = std::vector< NewItem > |
Public Member Functions | |
auto | Find (const Identifier &name) -> Iterator |
auto | InsertNewItemUsingPreferences (ItemOrdering &itemOrdering, BaseItem *pItem) -> bool |
auto | InsertNewItemUsingHint (BaseItem *pItem, const OrderingHint &hint, size_t endItemsCount, bool force) -> bool |
auto | MergeLater (Item &found, const Identifier &name, GroupItemBase::Ordering ordering) -> GroupItemBase * |
void | SubordinateSingleItem (Item &found, BaseItem *pItem) |
void | SubordinateMultipleItems (Item &found, GroupItemBase &items) |
bool | MergeWithExistingItem (ItemOrdering &itemOrdering, BaseItem *pItem) |
bool | MergeLikeNamedItems (ItemOrdering &itemOrdering, NewItems::const_iterator left, NewItems::const_iterator right, int iPass, size_t endItemsCount, bool force) |
void | MergeItemsAscendingNamesPass (ItemOrdering &itemOrdering, NewItems &newItems, int iPass, size_t endItemsCount, bool force) |
void | MergeItemsDescendingNamesPass (ItemOrdering &itemOrdering, NewItems &newItems, int iPass, size_t endItemsCount, bool force) |
void | MergeItems (ItemOrdering &itemOrdering, const GroupItemBase &toMerge, const OrderingHint &hint, void *pComputedItemContext) |
Public Attributes | |
std::vector< Item > | items |
std::vector< BaseItemSharedPtr > & | computedItems |
Definition at line 39 of file Registry.cpp.
using anonymous_namespace{Registry.cpp}::CollectedItems::Iterator = decltype( items )::iterator |
Definition at line 53 of file Registry.cpp.
using anonymous_namespace{Registry.cpp}::CollectedItems::NewItem = std::pair< BaseItem*, OrderingHint > |
Definition at line 81 of file Registry.cpp.
using anonymous_namespace{Registry.cpp}::CollectedItems::NewItems = std::vector< NewItem > |
Definition at line 82 of file Registry.cpp.
|
inline |
Definition at line 54 of file Registry.cpp.
References details::end(), and name.
auto anonymous_namespace{Registry.cpp}::CollectedItems::InsertNewItemUsingHint | ( | BaseItem * | pItem, |
const OrderingHint & | hint, | ||
size_t | endItemsCount, | ||
bool | force | ||
) | -> bool |
Definition at line 288 of file Registry.cpp.
References details::begin(), Journal::Begin(), details::end(), and ActiveProjects::Find().
auto anonymous_namespace{Registry.cpp}::CollectedItems::InsertNewItemUsingPreferences | ( | ItemOrdering & | itemOrdering, |
BaseItem * | pItem | ||
) | -> bool |
Definition at line 247 of file Registry.cpp.
References ActiveProjects::Find().
void anonymous_namespace{Registry.cpp}::CollectedItems::MergeItems | ( | ItemOrdering & | itemOrdering, |
const GroupItemBase & | toMerge, | ||
const OrderingHint & | hint, | ||
void * | pComputedItemContext | ||
) |
Definition at line 546 of file Registry.cpp.
References Journal::Begin(), anonymous_namespace{Registry.cpp}::CollectItems(), and anonymous_namespace{Registry.cpp}::Comp().
void anonymous_namespace{Registry.cpp}::CollectedItems::MergeItemsAscendingNamesPass | ( | ItemOrdering & | itemOrdering, |
NewItems & | newItems, | ||
int | iPass, | ||
size_t | endItemsCount, | ||
bool | force | ||
) |
Definition at line 500 of file Registry.cpp.
References anonymous_namespace{Registry.cpp}::MajorComp().
void anonymous_namespace{Registry.cpp}::CollectedItems::MergeItemsDescendingNamesPass | ( | ItemOrdering & | itemOrdering, |
NewItems & | newItems, | ||
int | iPass, | ||
size_t | endItemsCount, | ||
bool | force | ||
) |
Definition at line 525 of file Registry.cpp.
References anonymous_namespace{Registry.cpp}::MajorComp().
auto anonymous_namespace{Registry.cpp}::CollectedItems::MergeLater | ( | Item & | found, |
const Identifier & | name, | ||
GroupItemBase::Ordering | ordering | ||
) | -> GroupItemBase * |
Definition at line 341 of file Registry.cpp.
References name.
bool anonymous_namespace{Registry.cpp}::CollectedItems::MergeLikeNamedItems | ( | ItemOrdering & | itemOrdering, |
NewItems::const_iterator | left, | ||
NewItems::const_iterator | right, | ||
int | iPass, | ||
size_t | endItemsCount, | ||
bool | force | ||
) |
Definition at line 437 of file Registry.cpp.
References anonymous_namespace{Registry.cpp}::ItemOrdering::key, and anonymous_namespace{Registry.cpp}::ReportConflictingPlacements().
bool anonymous_namespace{Registry.cpp}::CollectedItems::MergeWithExistingItem | ( | ItemOrdering & | itemOrdering, |
BaseItem * | pItem | ||
) |
Definition at line 370 of file Registry.cpp.
References ActiveProjects::Find(), anonymous_namespace{Registry.cpp}::ItemOrdering::key, name, anonymous_namespace{Registry.cpp}::ReportGroupGroupCollision(), and anonymous_namespace{Registry.cpp}::ReportItemItemCollision().
void anonymous_namespace{Registry.cpp}::CollectedItems::SubordinateMultipleItems | ( | Item & | found, |
GroupItemBase & | items | ||
) |
Definition at line 361 of file Registry.cpp.
void anonymous_namespace{Registry.cpp}::CollectedItems::SubordinateSingleItem | ( | Item & | found, |
BaseItem * | pItem | ||
) |
Definition at line 353 of file Registry.cpp.
std::vector< BaseItemSharedPtr >& anonymous_namespace{Registry.cpp}::CollectedItems::computedItems |
Definition at line 50 of file Registry.cpp.
Referenced by anonymous_namespace{Registry.cpp}::CollectItem(), and anonymous_namespace{Registry.cpp}::VisitItems().
std::vector< Item > anonymous_namespace{Registry.cpp}::CollectedItems::items |
Definition at line 49 of file Registry.cpp.
Referenced by anonymous_namespace{Registry.cpp}::CollectItem().