FairRoot/PandaRoot
|
#include <assert.h>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
Namespaces | |
PndFTSArrayInternal | |
PndFTSInternal | |
Macros | |
#define | PNDFTSARRAY_STATIC_ASSERT_CONCAT_HELPER(a, b) a##b |
#define | PNDFTSARRAY_STATIC_ASSERT_CONCAT(a, b) PNDFTSARRAY_STATIC_ASSERT_CONCAT_HELPER(a, b) |
#define | PNDFTSARRAY_STATIC_ASSERT_NC(cond, msg) |
#define | PNDFTSARRAY_STATIC_ASSERT(cond, msg) PNDFTSARRAY_STATIC_ASSERT_NC(cond, msg); (void) Error_##msg |
#define | BOUNDS_CHECK(x, y) |
Enumerations | |
enum | { PndFTSFullyCacheLineAligned = -1 } |
This file contains the classes PndFTSResizableArray and PndFTSFixedArray with PndFTSArray as base class. It's a drop-in replacement for C-Arrays. It makes it easy to use variable sized arrays on the stack and pass arrays as arguments to other functions with an optional bounds-checking enabled for the whole time.
Definition in file PndFTSArray.h.
Definition at line 118 of file PndFTSArray.h.
Referenced by PndFTSInternal::ArrayBase< T, 2 >::operator()(), PndFTSInternal::ArrayBase< T, 3 >::operator()(), PndFTSArray< PndFTSInternal::TypeForAlignmentHelper< PndFTSCAGBHit, alignment >::Type, Dim >::operator*(), and PndFTSInternal::ArrayBase< T, 1 >::operator[]().
#define PNDFTSARRAY_STATIC_ASSERT | ( | cond, | |
msg | |||
) | PNDFTSARRAY_STATIC_ASSERT_NC(cond, msg); (void) Error_##msg |
Definition at line 71 of file PndFTSArray.h.
Referenced by PndFTSResizableArray< T, Dim, alignment >::PndFTSResizableArray(), and PndFTSResizableArray< T, Dim, alignment >::Resize().
#define PNDFTSARRAY_STATIC_ASSERT_CONCAT | ( | a, | |
b | |||
) | PNDFTSARRAY_STATIC_ASSERT_CONCAT_HELPER(a, b) |
Definition at line 67 of file PndFTSArray.h.
Definition at line 66 of file PndFTSArray.h.
#define PNDFTSARRAY_STATIC_ASSERT_NC | ( | cond, | |
msg | |||
) |
Definition at line 68 of file PndFTSArray.h.
anonymous enum |
Enumerator | |
---|---|
PndFTSFullyCacheLineAligned |
Definition at line 56 of file PndFTSArray.h.