![]() |
ATLAS Offline Software
|
Read-write multidimensional array. More...
#include <Array.h>
Public Member Functions | |
| WritableArray (Arrayrep &rep) | |
| Constructor. | |
| WritableArray< N-1 > | operator[] (unsigned int i) |
| Array indexing. | |
| Array< N-1 > | operator[] (unsigned int i) const |
| Array indexing. | |
| Arrayelt * | ptr () |
| Return a direct pointer to array elements. | |
Private Member Functions | |
| WritableArray (Arrayrep &rep, unsigned int offs) | |
| Private constructor for array indexing. | |
Private Attributes | |
| Arrayrep * | m_rep_nc |
| The underlying array representation, non-const copy. | |
Friends | |
| class | WritableArray< N+1 > |
Read-write multidimensional array.
This class derives from Array<N>. It allows writing into the array, but otherwise works in the same way.
Definition at line 645 of file Control/CxxUtils/CxxUtils/Array.h.
| CxxUtils::WritableArray< N >::WritableArray | ( | Arrayrep & | rep | ) |
|
private |
| WritableArray< N-1 > CxxUtils::WritableArray< N >::operator[] | ( | unsigned int | i | ) |
Array indexing.
| i | The desired index. Must be less than the array size along this dimension. |
N-1 dimensional subarray in the array.Note that this operation is not available if N is 0.
| Array< N-1 > CxxUtils::WritableArray< N >::operator[] | ( | unsigned int | i | ) | const |
Array indexing.
| i | The desired index. Must be less than the array size along this dimension. |
N-1 dimensional subarray in the array.Note that this operation is not available if N is 0.
| Arrayelt * CxxUtils::WritableArray< N >::ptr | ( | ) |
Return a direct pointer to array elements.
Subsequent elements follow in standard C indexing order.
|
friend |
Definition at line 698 of file Control/CxxUtils/CxxUtils/Array.h.
|
private |
The underlying array representation, non-const copy.
Definition at line 704 of file Control/CxxUtils/CxxUtils/Array.h.