Macros
ListLoopM.H File Reference

List<T> is a 1D vector of objects of type T, where the size of the vector is known and used for subscript bounds checking, etc. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define List_FOR_ALL(f, i)
 
#define List_END_FOR_ALL   }
 
#define List_CELEM(f, fp, i)   (*fp)
 
#define List_ELEM(f, fp, i)   (*fp++)
 
#define List_ACCESS(type, f, fp)   type* __restrict__ fp = (f).begin()
 
#define List_CONST_ACCESS(type, f, fp)   const type* __restrict__ fp = (f).begin()
 

Detailed Description

List<T> is a 1D vector of objects of type T, where the size of the vector is known and used for subscript bounds checking, etc.

Original source file ListLoopM.H

Definition in file ListLoopM.H.

Macro Definition Documentation

#define List_FOR_ALL (   f,
 
)
Value:
label i = (f).size(); \
while (i--) \
{ \
labelList f(nPoints)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59

Definition at line 62 of file ListLoopM.H.

Referenced by UList< T >::assign(), List< T >::List(), List< T >::operator=(), UList< T >::operator=(), FixedList< T, Size >::operator==(), UList< T >::operator==(), and FixedList< T, Size >::swap().

#define List_END_FOR_ALL   }
#define List_CELEM (   f,
  fp,
 
)    (*fp)

Definition at line 70 of file ListLoopM.H.

Referenced by FixedList< T, Size >::swap().

#define List_ELEM (   f,
  fp,
 
)    (*fp++)
#define List_ACCESS (   type,
  f,
  fp 
)    type* __restrict__ fp = (f).begin()
#define List_CONST_ACCESS (   type,
  f,
  fp 
)    const type* __restrict__ fp = (f).begin()