![]() |
ATLAS Offline Software
|
Auxiliary variable span wrapper. More...
#include <AuxDataSpan.h>
Public Member Functions | |
| AuxDataSpan (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... | |
| T * | data () |
| Return the start of the span. More... | |
| const T * | data () const |
| Return the start of the span (const). More... | |
| T & | operator[] (size_t index) |
| Element access. More... | |
| const T & | operator[] (size_t index) const |
| Element access (const). More... | |
| T & | at (size_t index) |
| Bounds-checked element access. More... | |
| const T & | at (size_t index) const |
| Bounds-checked element access (const). More... | |
| T & | front () |
| Return the first element in the range. More... | |
| const T & | front () const |
| Return the first element in the range (const). More... | |
| T & | back () |
| Return the last element in the range. More... | |
| const T & | back () const |
| Return the last element in the range (const). More... | |
Private Attributes | |
| const AuxDataSpanBase & | m_span |
| The wrapped object. More... | |
Auxiliary variable span wrapper.
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 71 of file AuxDataSpan.h.
|
inline |
|
inline |
|
inline |
|
inline |
Return the last element in the range.
Definition at line 162 of file AuxDataSpan.h.
|
inline |
Return the last element in the range (const).
Definition at line 168 of file AuxDataSpan.h.
|
inline |
Return the start of the span.
Definition at line 96 of file AuxDataSpan.h.
|
inline |
Return the start of the span (const).
Definition at line 102 of file AuxDataSpan.h.
|
inline |
Test to see if the span is empty.
Definition at line 90 of file AuxDataSpan.h.
|
inline |
|
inline |
|
inline |
|
inline |
Element access (const).
index The element index to access.
Definition at line 119 of file AuxDataSpan.h.
|
inline |
Return the size of the span.
Definition at line 84 of file AuxDataSpan.h.
|
private |
The wrapped object.
Definition at line 173 of file AuxDataSpan.h.
1.8.18