This class is used as a base class for the templated array classes.
More...
#include <flxCoreTypes.h>
This class is used as a base class for the templated array classes.
- Note
- Currently the interface only supports up to 3 dimensions.
◆ flxDataArray()
| flxDataArray::flxDataArray |
( |
| ) |
|
|
inline |
◆ ~flxDataArray()
| virtual flxDataArray::~flxDataArray |
( |
| ) |
|
|
inlinevirtual |
◆ dimensions()
| uint16_t * flxDataArray::dimensions |
( |
| ) |
|
|
inline |
Return a pointer to the array's dimensions array .
- Returns
- uint16_t*
◆ n_dimensions()
| uint8_t flxDataArray::n_dimensions |
( |
| ) |
|
|
inline |
Return the number of dimensions in the array.
- Returns
- uint8_t
◆ reset()
| virtual void flxDataArray::reset |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ setDimensions() [1/3]
| void flxDataArray::setDimensions |
( |
uint16_t |
d0 | ) |
|
|
inlineprotected |
◆ setDimensions() [2/3]
| void flxDataArray::setDimensions |
( |
uint16_t |
d0, |
|
|
uint16_t |
d1 |
|
) |
| |
|
inlineprotected |
◆ setDimensions() [3/3]
| void flxDataArray::setDimensions |
( |
uint16_t |
d0, |
|
|
uint16_t |
d1, |
|
|
uint16_t |
d2 |
|
) |
| |
|
inlineprotected |
◆ size()
| size_t flxDataArray::size |
( |
void |
| ) |
|
|
inline |
Return the total number of elements in the array.
- Returns
- size_t
◆ type()
◆ _dimensions
◆ _n_dims
| uint8_t flxDataArray::_n_dims |
|
protected |
◆ kMaxArrayDims
| constexpr uint16_t flxDataArray::kMaxArrayDims = 3 |
|
staticconstexprprotected |
The documentation for this class was generated from the following file: