tfel
Loading...
Searching...
No Matches
tfel::math::array_holder< N, ValueType > Struct Template Reference
Inheritance diagram for tfel::math::array_holder< N, ValueType >:
tfel::math::MutableArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > > tfel::math::ConstArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > >

Public Types

using size_type = unsigned short
 a simple alias
Public Types inherited from tfel::math::MutableArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > >
using value_type
 type of the values hold by the array.
using reference
 type of a reference to the value contained.
using pointer
 type of a pointer to the value contained.
using iterator
 type of the iterator.
using reverse_iterator
 type of the const reverse iterator.
Public Types inherited from tfel::math::ConstArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > >
using const_value_type
 const type of the values hold by the array.
using const_reference
 type of a const reference to the value contained.
using const_pointer
 type of a const pointer to the value contained.
using difference_type
 type of the difference between two iterators.
using const_iterator
 type of the const iterator.
using const_reverse_iterator
 type of the reverse iterator.

Public Member Functions

TFEL_HOST_DEVICE constexpr size_type size () const noexcept
constexpr auto data () noexcept
constexpr auto data () const noexcept
TFEL_HOST_DEVICE constexpr ValueType & operator[] (const size_type i) noexcept
 access operator
TFEL_HOST_DEVICE constexpr const ValueType & operator[] (const size_type i) const noexcept
Public Member Functions inherited from tfel::math::MutableArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > >
TFEL_HOST_DEVICE constexpr reference front () noexcept
TFEL_HOST_DEVICE constexpr reference back () noexcept
TFEL_HOST_DEVICE constexpr iterator begin () noexcept
TFEL_HOST_DEVICE constexpr iterator end () noexcept
TFEL_HOST_DEVICE constexpr reverse_iterator rbegin () noexcept
TFEL_HOST_DEVICE constexpr reverse_iterator rend () noexcept
Public Member Functions inherited from tfel::math::ConstArrayWithContiguousDataSTLCompatibilityLayer< array_holder< N, ValueType >, FixedSizeVectorPolicy< N, ValueType > >
TFEL_HOST_DEVICE constexpr const_reference front () const noexcept
TFEL_HOST_DEVICE constexpr const_reference back () const noexcept
TFEL_HOST_DEVICE constexpr const_iterator begin () const noexcept
TFEL_HOST_DEVICE constexpr const_iterator cbegin () const noexcept
TFEL_HOST_DEVICE constexpr const_iterator end () const noexcept
TFEL_HOST_DEVICE constexpr const_iterator cend () const noexcept
TFEL_HOST_DEVICE constexpr const_reverse_iterator rbegin () const noexcept
TFEL_HOST_DEVICE constexpr const_reverse_iterator crbegin () const noexcept
TFEL_HOST_DEVICE constexpr const_reverse_iterator rend () const noexcept
TFEL_HOST_DEVICE constexpr const_reverse_iterator crend () const noexcept

Protected Attributes

ValueType v [N]
 values

The documentation for this struct was generated from the following file: