StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Macros | Enumerations
AliHLTArray.h File Reference
#include <cstring>
#include <assert.h>
#include <mm_malloc.h>

Go to the source code of this file.

Classes

class  AliHLTArrayInternal::STATIC_ASSERT_FAILURE< bool >
 
class  AliHLTArrayInternal::STATIC_ASSERT_FAILURE< true >
 
class  AliHLTArray< T, Dim >
 
struct  AliHLTInternal::Padding< Size >
 
struct  AliHLTInternal::Padding< 0 >
 
struct  AliHLTInternal::CacheLineSizeHelperData< T >
 
struct  AliHLTInternal::CacheLineSizeHelperEnums< T >
 
class  AliHLTInternal::CacheLineSizeHelper< T >
 
struct  AliHLTInternal::TypeForAlignmentHelper< T, alignment >
 
struct  AliHLTInternal::TypeForAlignmentHelper< T, AliHLTFullyCacheLineAligned >
 
class  AliHLTInternal::ArrayBoundsCheck
 
class  AliHLTInternal::Allocator< T, alignment >
 
class  AliHLTInternal::Allocator< T, AliHLTFullyCacheLineAligned >
 
class  AliHLTInternal::Allocator< T, 0 >
 
struct  AliHLTInternal::ReturnTypeHelper< T >
 
struct  AliHLTInternal::ReturnTypeHelper< CacheLineSizeHelper< T > >
 
class  AliHLTInternal::ArrayBase< T, Dim >
 
class  AliHLTInternal::ArrayBase< T, 1 >
 
class  AliHLTInternal::ArrayBase< T, 2 >
 
class  AliHLTInternal::ArrayBase< T, 3 >
 
class  AliHLTInternal::AlignedData< T, Size, _alignment >
 
class  AliHLTInternal::AlignedData< T, Size, 0 >
 
class  AliHLTArray< T, Dim >
 
class  AliHLTResizableArray< T, Dim, alignment >
 
class  AliHLTArraySize< x, y, z >
 
class  AliHLTFixedArray< T, Size, alignment >
 

Macros

#define USE_MM_MALLOC
 
#define ALIHLTARRAY_STATIC_ASSERT_CONCAT_HELPER(a, b)   a##b
 
#define ALIHLTARRAY_STATIC_ASSERT_CONCAT(a, b)   ALIHLTARRAY_STATIC_ASSERT_CONCAT_HELPER(a, b)
 
#define ALIHLTARRAY_STATIC_ASSERT_NC(cond, msg)
 
#define ALIHLTARRAY_STATIC_ASSERT(cond, msg)   ALIHLTARRAY_STATIC_ASSERT_NC(cond, msg); (void) Error_##msg
 
#define BOUNDS_CHECK(x, y)
 

Enumerations

enum  { AliHLTFullyCacheLineAligned = -1 }
 

Detailed Description

Author
Matthias Kretz kretz.nosp@m.@kde.nosp@m..org

This file contains the classes AliHLTResizableArray and AliHLTFixedArray with AliHLTArray 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 AliHLTArray.h.

Macro Definition Documentation

#define ALIHLTARRAY_STATIC_ASSERT_NC (   cond,
  msg 
)
Value:
typedef AliHLTArrayInternal::STATIC_ASSERT_FAILURE<cond> ALIHLTARRAY_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__); \
ALIHLTARRAY_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__) Error_##msg

Definition at line 75 of file AliHLTArray.h.