Lines Matching refs:span

38 /*! \brief      Definition of a span object
40 * \details A "span" is an "array view" type for holding a view of contiguous
41 * data. The "span" object does not own the data itself.
43 template <typename T> class span {
59 constexpr span() = default;
61 /*! \brief Constructor taking a pointer and the length of the span
63 * \param[in] length The size of the span
65 constexpr span(uint16_t offset_, const size_type length_) : offset{offset_}, length{length_} {}
67 /*! \brief Returns an iterator to the begin of the span
72 /*! \brief Returns a const_iterator to the begin of the span
80 /*! \brief Returns an iterator to the end of the span
85 /*! \brief Returns a const_iterator to the end of the span
90 /*! \brief Returns a const_iterator to the begin of the span
95 /*! \brief Returns a const_iterator to the end of the span
100 /*! \brief Returns a reverse_iterator to the end of the span
105 /*! \brief Returns a const_reverse_iterator to the end of the span
113 /*! \brief Returns a reverse_iterator to the begin of the span
118 /*! \brief Returns a const_reverse_iterator to the begin of the span
126 /*! \brief Returns a const_reverse_iterator to the end of the span
134 /*! \brief Returns a const_reverse_iterator to the begin of the span
162 /*! \brief Returns a reference to the last element of the span
171 /*! \brief Returns a const_reference to the last element of the span
180 /*! \brief Returns a reference to the first element of the span
189 /*! \brief Returns a const_reference to the first element of the span
198 /*! \brief Returns true if the span is empty
203 /*! \brief Returns the size of the span
208 /*! \brief Decreases the size of the span by 1
216 /*! \brief Adds an element to the end of the span
220 /*! \brief Clears the span
229 uint16_t offset{0}; //!> Byte offset from span to data
230 size_type length{0}; //!> Size of the span