Template Class Multiport

Inheritance Relationships

Base Type

Class Documentation

template<class T, class A = std::allocator<T>>
class Multiport : public reactor::BaseMultiport

Public Types

using value_type = typename A::value_type
using size_type = typename A::size_type
using iterator = typename std::vector<T>::iterator
using const_iterator = typename std::vector<T>::const_iterator

Public Functions

Multiport() noexcept = default
~Multiport() noexcept = default
inline auto operator==(const Multiport &other) const noexcept -> bool
inline auto operator!=(const Multiport &other) const noexcept -> bool
inline auto operator[](std::size_t index) noexcept -> T&
inline auto operator[](std::size_t index) const noexcept -> const T&
inline auto begin() noexcept -> iterator
inline auto begin() const noexcept -> const_iterator
inline auto cbegin() const noexcept -> const_iterator
inline auto end() noexcept -> iterator
inline auto end() const noexcept -> const_iterator
inline auto cend() const noexcept -> const_iterator
inline auto size() const noexcept -> size_type
inline auto empty() const noexcept -> bool
inline auto present_indices_unsorted() const noexcept -> std::vector<std::size_t>
inline auto present_indices_sorted() const noexcept -> std::vector<std::size_t>

Protected Attributes

std::vector<T> data_ = {}