#include <Fw/DataStructures/ExternalArray.hpp>
template<typename T>
class Fw::ExternalArray< T >
Definition at line 21 of file ExternalArray.hpp.
◆ ExternalArray() [1/4]
◆ ExternalArray() [2/4]
Constructor providing typed backing storage. elements must point to at least size elements of type T.
- Parameters
-
elements | The elements |
size | The array size |
Definition at line 38 of file ExternalArray.hpp.
◆ ExternalArray() [3/4]
Constructor providing untyped backing storage. data must be aligned according to getByteArrayAlignment(). data must contain at least getByteArraySize(size) bytes.
- Parameters
-
data | The data |
size | The array size |
Definition at line 46 of file ExternalArray.hpp.
◆ ExternalArray() [4/4]
◆ ~ExternalArray()
◆ copyDataFrom()
◆ getByteArrayAlignment()
◆ getByteArraySize()
Get the size of the storage for an ExternalArray of the specified size, as a byte array
- Returns
- The byte array size
- Parameters
-
Definition at line 162 of file ExternalArray.hpp.
◆ getElements() [1/2]
Get a mutable pointer to the elements
- Returns
- A mutable pointer to the elements
Definition at line 101 of file ExternalArray.hpp.
◆ getElements() [2/2]
Get a const pointer to the elements
- Returns
- A const pointer to the elements
Definition at line 105 of file ExternalArray.hpp.
◆ getSize()
◆ operator=()
◆ operator[]() [1/2]
Subscript operator
- Returns
- The element at index i
- Parameters
-
Definition at line 65 of file ExternalArray.hpp.
◆ operator[]() [2/2]
Const subscript operator
- Returns
- The element at index i
- Parameters
-
Definition at line 74 of file ExternalArray.hpp.
◆ setStorage() [1/2]
Set the backing storage (typed data)
- Parameters
-
elements | The array elements |
size | The size |
Definition at line 112 of file ExternalArray.hpp.
◆ setStorage() [2/2]
Set the backing storage (untyped data) Data must be aligned for T and must contain at least getByteArraySize(size) bytes.
- Parameters
-
data | The data |
size | The array size |
Definition at line 123 of file ExternalArray.hpp.
The documentation for this class was generated from the following file: