|
libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
|

Public Types | |
| using | iterator = typename deque<Object>::iterator |
| Iterator type. | |
| using | const_iterator = typename deque<Object>::const_iterator |
| Immutable iterator type. | |
Public Member Functions | |
| Array () | |
| Constructor. | |
| Array (vector< Object >) | |
| Constructor. | |
| Array (Array const &) | |
| Constructor. | |
| Array (Array &&) | |
| Constructor. | |
| ~Array () noexcept | |
| Destructor. | |
| size_t | size () const |
| Get the size of the array. | |
| bool | empty () const |
| Check if the array is empty. | |
| Object & | front () |
| Get a reference to the first element. | |
| Object const & | front () const |
| Get a reference to the first element. | |
| Object & | back () |
| Get a reference to the last element. | |
| Object const & | back () const |
| Get a reference to the last element. | |
| iterator | begin () |
| Get begin iterator. | |
| const_iterator | begin () const |
| Get begin iterator. | |
| const_iterator | cbegin () const |
| Get begin iterator. | |
| iterator | end () |
| Get past-the-end iterator. | |
| const_iterator | end () const |
| Get past-the-end iterator. | |
| const_iterator | cend () const |
| Get past-the-end iterator. | |
| Object & | push_front (Object const &) |
| Push element to the front of the array. | |
| Object & | push_back (Object const &) |
| Push element to the back of the array. | |
| void | pop_front () |
| void | pop_back () |
| Array & | operator= (Array const &) |
| Assignment. | |
| Array & | operator= (Array &&) |
| Assignment. | |
| bool | operator== (Array const &) const |
| Comparison. | |
| bool | operator!= (Array const &) const |
| Comparison. | |
| void | attach (Owner &) |
| Attach value to owner. | |
| Owner * | owner () |
| Access owner, if any. | |
| Owner const * | owner () const |
| Access owner, if any. | |
Protected Member Functions | |
| void | attach_children (Object_model::Owner &) override |
| Attach any children. | |
Private Attributes | |
| deque< Object > | _data |
| Owner * | _owner {} |
| using Art::Paperback::Carousel::Array::iterator = typename deque<Object>::iterator |
Iterator type.
| using Art::Paperback::Carousel::Array::const_iterator = typename deque<Object>::const_iterator |
Immutable iterator type.
| Art::Paperback::Carousel::Array::Array | ( | ) |
Constructor.
| Art::Paperback::Carousel::Array::Array | ( | vector< Object > | init | ) |
Constructor.
| Art::Paperback::Carousel::Array::Array | ( | Array const & | other | ) |
Constructor.
| Art::Paperback::Carousel::Array::Array | ( | Array && | other | ) |
Constructor.
|
noexcept |
Destructor.
| size_t Art::Paperback::Carousel::Array::size | ( | ) | const |
Get the size of the array.
| bool Art::Paperback::Carousel::Array::empty | ( | ) | const |
Check if the array is empty.
| Object & Art::Paperback::Carousel::Array::front | ( | ) |
Get a reference to the first element.
| Object const & Art::Paperback::Carousel::Array::front | ( | ) | const |
Get a reference to the first element.
| Object & Art::Paperback::Carousel::Array::back | ( | ) |
Get a reference to the last element.
| Object const & Art::Paperback::Carousel::Array::back | ( | ) | const |
Get a reference to the last element.
| Array::iterator Art::Paperback::Carousel::Array::begin | ( | ) |
Get begin iterator.
| Array::const_iterator Art::Paperback::Carousel::Array::begin | ( | ) | const |
Get begin iterator.
| Array::const_iterator Art::Paperback::Carousel::Array::cbegin | ( | ) | const |
Get begin iterator.
| Array::iterator Art::Paperback::Carousel::Array::end | ( | ) |
Get past-the-end iterator.
| Array::const_iterator Art::Paperback::Carousel::Array::end | ( | ) | const |
Get past-the-end iterator.
| Array::const_iterator Art::Paperback::Carousel::Array::cend | ( | ) | const |
Get past-the-end iterator.
Push element to the front of the array.
Push element to the back of the array.
| bool Art::Paperback::Carousel::Array::operator== | ( | Array const & | other | ) | const |
Comparison.
| bool Art::Paperback::Carousel::Array::operator!= | ( | Array const & | other | ) | const |
Comparison.
|
overrideprotectedvirtual |
Attach any children.
| owner | The owner of the children. |
Reimplemented from Art::Paperback::Carousel::Object_model::Value_base.
|
inherited |
Attach value to owner.
| owner | Reference to the owner. |
|
inherited |
Access owner, if any.
|
inherited |
Access owner, if any.