Audacity 3.2.0
|
#include <Composite.h>
Public Types | |
using | value_type = ComponentPointer |
using | Items = std::vector< value_type > |
Public Member Functions | |
Base (ComponentArgs... args) | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
auto | begin () const |
auto | end () const |
auto | cbegin () const |
auto | cend () const |
auto | rbegin () const |
auto | rend () const |
auto | crbegin () const |
auto | crend () const |
void | push_back (value_type ptr) |
auto | size () const noexcept |
bool | empty () const |
Protected Attributes | |
Items | items |
Generates a base class for internal nodes of tree structures, which acts like a standard container (including compatibility with range-for and back_inserter)
Component | common base class of nodes and leaves (and of Base itself), which must have a virtual destructor |
ComponentPointer | type of pointer to Components to be stored |
ComponentArgs... | passed to constructor of Component |
Definition at line 38 of file Composite.h.
using Composite::Base< Component, ComponentPointer, ComponentArgs >::Items = std::vector<value_type> |
Definition at line 42 of file Composite.h.
using Composite::Base< Component, ComponentPointer, ComponentArgs >::value_type = ComponentPointer |
Definition at line 41 of file Composite.h.
|
inlineexplicit |
Definition at line 44 of file Composite.h.
References forward.
|
delete |
|
inline |
Definition at line 53 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 55 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 56 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 59 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 60 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 65 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 54 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
delete |
|
inline |
Definition at line 62 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
Referenced by Composite::Builder< Base, Derived, BaseArgs >::push_back().
|
inline |
Definition at line 57 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inline |
Definition at line 58 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
inlinenoexcept |
Definition at line 63 of file Composite.h.
References Composite::Base< Component, ComponentPointer, ComponentArgs >::items.
|
protected |
Definition at line 68 of file Composite.h.
Referenced by Composite::Base< Component, ComponentPointer, ComponentArgs >::begin(), Composite::Builder< Base, Derived, BaseArgs >::Builder(), Composite::Base< Component, ComponentPointer, ComponentArgs >::cbegin(), Composite::Base< Component, ComponentPointer, ComponentArgs >::cend(), Composite::Base< Component, ComponentPointer, ComponentArgs >::crbegin(), Composite::Base< Component, ComponentPointer, ComponentArgs >::crend(), Composite::Base< Component, ComponentPointer, ComponentArgs >::empty(), Composite::Base< Component, ComponentPointer, ComponentArgs >::end(), Composite::Base< Component, ComponentPointer, ComponentArgs >::push_back(), Composite::Base< Component, ComponentPointer, ComponentArgs >::rbegin(), Registry::detail::RegisterItem(), Composite::Base< Component, ComponentPointer, ComponentArgs >::rend(), and Composite::Base< Component, ComponentPointer, ComponentArgs >::size().