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

◆ List_FOR_ALL

#define List_FOR_ALL (   f,
 
)
Value:
label i = (f).size(); \
while (i--) \
{ \
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
labelList f(nPoints)

Definition at line 62 of file ListLoopM.H.

◆ List_END_FOR_ALL

#define List_END_FOR_ALL   }

Definition at line 67 of file ListLoopM.H.

◆ List_CELEM

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

Definition at line 70 of file ListLoopM.H.

◆ List_ELEM

#define List_ELEM (   f,
  fp,
 
)    (*fp++)

Definition at line 73 of file ListLoopM.H.

◆ List_ACCESS

#define List_ACCESS (   type,
  f,
  fp 
)     type* __restrict__ fp = (f).begin()

Definition at line 75 of file ListLoopM.H.

◆ List_CONST_ACCESS

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

Definition at line 78 of file ListLoopM.H.