ATLAS Offline Software
|
Auxiliary variable span wrapper (const). More...
#include <AuxDataSpan.h>
Public Member Functions | |
AuxDataConstSpan (const AuxDataSpanBase &span) | |
Constructor. More... | |
size_t | size () const |
Return the size of the span. More... | |
bool | empty () const |
Test to see if the span is empty. More... | |
const T * | data () const |
Return the start of the span. More... | |
const T & | operator[] (size_t index) const |
Element access. More... | |
const T & | at (size_t index) const |
Bounds-checked element access. More... | |
const T & | front () const |
Return the first element in the range. More... | |
const T & | back () const |
Return the last element in the range. More... | |
Private Attributes | |
const AuxDataSpanBase & | m_span |
The wrapped object. More... | |
Auxiliary variable span wrapper (const).
This wraps an AuxDataSpanBase
for more user-friendly access. It holds the AuxDataSpanBase
by reference, so it will implicity see any changes.
Definition at line 185 of file AuxDataSpan.h.
|
inline |
|
inline |
|
inline |
Return the last element in the range.
Definition at line 244 of file AuxDataSpan.h.
|
inline |
Return the start of the span.
Definition at line 211 of file AuxDataSpan.h.
|
inline |
Test to see if the span is empty.
Definition at line 205 of file AuxDataSpan.h.
|
inline |
|
inline |
|
inline |
Return the size of the span.
Definition at line 199 of file AuxDataSpan.h.
|
private |
The wrapped object.
Definition at line 249 of file AuxDataSpan.h.