CONZEPT 16 C++ API
|
#include "C16/Series.hpp"
Series of elements.
Element | Type of the elements of the series |
Public Member Functions | |
const Element & | get (size_type number) const |
Gets an element of the series by meants if its number. More... | |
Element & | get (size_type number) |
Gets an element of the series by meants if its number. More... | |
![]() | |
virtual size_type | size () const =0 |
Gets the size of the array. More... | |
virtual bool | empty () const |
Gets if the array is empty. More... | |
![]() | |
const_reference | operator[] (size_type index) const |
Gets an element of the array by means of its index. More... | |
reference | operator[] (size_type index) |
Gets an element of the array by means of its index. More... | |
const_reference | at (size_type index) const |
Gets an element of the array by means of its index. More... | |
reference | at (size_type index) |
Gets an element of the array by means of its index. More... | |
const_reference | front () const |
Gets the first element of the array. More... | |
reference | front () |
Gets the first element of the array. More... | |
const_reference | back () const |
Gets the last element of the array. More... | |
reference | back () |
Gets the last element of the array. More... | |
IteratorConst | begin () const noexcept |
Gets a const-iterator of the first element of the array. More... | |
Iterator | begin () noexcept |
Gets an iterator of the first element of the array. More... | |
IteratorConst | cbegin () const noexcept |
Gets a const-iterator of the first element of the array. More... | |
IteratorConst | end () const noexcept |
Gets a const-iterator of the element following the last element of the array. More... | |
Iterator | end () noexcept |
Gets an iterator of the element following the last element of the array. More... | |
IteratorConst | cend () const noexcept |
Gets a const-iterator of the element following the last element of the array. More... | |
IteratorConst | rbegin () const noexcept |
Gets a const-iterator of the last element of the array. More... | |
Iterator | rbegin () noexcept |
Gets an iterator of the last element of the array. More... | |
IteratorConst | crbegin () const noexcept |
Gets a const-iterator of the last element of the array. More... | |
IteratorConst | rend () const noexcept |
Gets a const-iterator of the element preceding the first element of the array. More... | |
Iterator | rend () noexcept |
Gets an iterator of the element preceding the first element of the array. More... | |
IteratorConst | crend () const noexcept |
Gets a const-iterator of the element preceding the first element of the array. More... | |
Additional Inherited Members | |
![]() | |
using | size_type = std::size_t |
Type of the size of the array. More... | |
![]() | |
using | value_type = Element |
Type of the elements of the array. More... | |
using | const_reference = const Element & |
Type of a constant reference to an element of the array. More... | |
using | reference = Element & |
Type of a reference to an element of the array. More... | |
const Element& C16::Series< Element >::get | ( | size_type | number | ) | const |
Gets an element of the series by meants if its number.
number | Number of the element (1 to size()) |
Exception::Invalidity | Number invalid. |
Element& C16::Series< Element >::get | ( | size_type | number | ) |
Gets an element of the series by meants if its number.
number | Number of the element (1 to size()) |
Exception::Invalidity | Number invalid. |