Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
24 #ifndef ATHCONTAINERSINTERFACES_AUXDATASPAN_H
25 #define ATHCONTAINERSINTERFACES_AUXDATASPAN_H
256 #endif // not ATHCONTAINERSINTERFACES_AUXDATASPAN_H
span(T *ptr, std::size_t sz) -> span< T >
A couple needed deduction guides.
AuxDataSpanBase(void *the_beg=0, size_t the_size=0)
Constructor.
size_t size
The length of the variable's vector.
AuxDataConstSpan(const AuxDataSpanBase &span)
Constructor.
const T & front() const
Return the first element in the range (const).
const AuxDataSpanBase & m_span
The wrapped object.
Auxiliary variable span wrapper.
const T & back() const
Return the last element in the range.
bool empty() const
Test to see if the span is empty.
const T & at(size_t index) const
Bounds-checked element access (const).
T & operator[](size_t index)
Element access.
const T * data() const
Return the start of the span.
Auxiliary variable span wrapper (const).
const T & operator[](size_t index) const
Element access.
void * beg
Pointer to the start of the variable's vector.
AuxDataSpan(const AuxDataSpanBase &span)
Constructor.
const T & front() const
Return the first element in the range.
T & back()
Return the last element in the range.
T & front()
Return the first element in the range.
T & at(size_t index)
Bounds-checked element access.
Minimal span-like object describing the range of an auxiliary variable.
const T * data() const
Return the start of the span (const).
const AuxDataSpanBase & m_span
The wrapped object.
size_t size() const
Return the size of the span.
bool empty() const
Test to see if the span is empty.
const T & at(size_t index) const
Bounds-checked element access.
size_t size() const
Return the size of the span.
T * data()
Return the start of the span.
const T & back() const
Return the last element in the range (const).