QTrk
Public Member Functions | Public Attributes | List of all members
LVArrayND< T, N > Struct Template Reference

LabVIEW N dimensions array template. More...

#include <labview.h>

Public Member Functions

int numElem ()
 

Public Attributes

int32_t dimSizes [N]
 
elem [1]
 

Detailed Description

template<typename T, int N>
struct LVArrayND< T, N >

LabVIEW N dimensions array template.

Definition at line 66 of file labview.h.

Member Function Documentation

§ numElem()

template<typename T, int N>
int LVArrayND< T, N >::numElem ( )
inline

Definition at line 70 of file labview.h.

70  {
71  int n = dimSizes[0];
72  for (int i=1;i<N;i++) n*=dimSizes[i];
73  return n;
74  }
int32_t dimSizes[N]
Definition: labview.h:67

Member Data Documentation

§ dimSizes

template<typename T, int N>
int32_t LVArrayND< T, N >::dimSizes[N]

Definition at line 67 of file labview.h.

§ elem

template<typename T, int N>
T LVArrayND< T, N >::elem[1]

Definition at line 68 of file labview.h.


The documentation for this struct was generated from the following file: