Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
Array.h File Reference

Detailed Description

Helper macros / methods for static arrays.

Include dependency graph for Array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ola::ArrayDeleter
 Deletes an array when it goes out of scope. More...

Namespaces

namespace  ola
 The namespace containing all OLA symbols.

Macros

#define arraysize(array)   (sizeof(ola::ArraySizeHelper(array)))
 Computes the size of the statically allocated array.

Macro Definition Documentation

#define arraysize (   array)    (sizeof(ola::ArraySizeHelper(array)))

Computes the size of the statically allocated array.

Parameters
arraythe array to get the size of.
Returns
the number of elements in the array.