![]() |
ATLAS Offline Software
|
Auxiliary variable span wrapper (const). More...
#include <AuxDataSpan.h>
Public Member Functions | |
| AuxDataConstSpan (const AuxDataSpanBase &span) | |
| Constructor. | |
| size_t | size () const |
| Return the size of the span. | |
| bool | empty () const |
| Test to see if the span is empty. | |
| const T * | data () const |
| Return the start of the span. | |
| const T & | operator[] (size_t index) const |
| Element access. | |
| const T & | at (size_t index) const |
| Bounds-checked element access. | |
| const T & | front () const |
| Return the first element in the range. | |
| const T & | back () const |
| Return the last element in the range. | |
Private Attributes | |
| const AuxDataSpanBase & | m_span |
| The wrapped object. | |
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 190 of file AuxDataSpan.h.
|
inline |
Constructor.
| span | The base object to wrap. |
Definition at line 197 of file AuxDataSpan.h.
|
inline |
Bounds-checked element access.
index The element index to access.
Definition at line 233 of file AuxDataSpan.h.
|
inline |
Return the last element in the range.
Definition at line 251 of file AuxDataSpan.h.
|
inline |
Return the start of the span.
Definition at line 216 of file AuxDataSpan.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
The wrapped object.
Definition at line 256 of file AuxDataSpan.h.