#include <FieldStringBytes.h>
◆ FieldStringBytes()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ ~FieldStringBytes()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ clear()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ deserialize()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ get()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Get a reference to the value at the given index.
This function will update the number of elements used in the array/string.
- Parameters
-
[in] | index | The desired index to return. |
- Returns
- The reference to the value at the given index. Will return the last element if the index is out of bounds
◆ get_const() [1/2]
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Get a constant pointer to the first element in the array.
◆ get_const() [2/2]
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Get a constant reference to the value at the given index.
- Parameters
-
[in] | index | The desired index to return. |
- Returns
- The reference to the value at the given index. Will return the last element if the index is out of bounds
◆ get_length()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Obtain the number of characters in the string right now.
◆ get_max_length()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Obtain the maximum number characters in the string.
◆ operator[]() [1/2]
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Get a reference to the value at the given index.
This function will update the number of elements used in the array/string.
- Parameters
-
[in] | index | The desired index to return. |
- Returns
- The reference to the value at the given index. Will return the last element if the index is out of bounds
◆ operator[]() [2/2]
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Get a constant reference to the value at the given index.
- Parameters
-
[in] | index | The desired index to return. |
- Returns
- The reference to the value at the given index. Will return the last element if the index is out of bounds
◆ serialize()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ serialize_with_id()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ set()
template<uint32_t MAX_LENGTH, class DATA_TYPE >
◆ current_length_
template<uint32_t MAX_LENGTH, class DATA_TYPE >
Number of item in the data array.
◆ data_
template<uint32_t MAX_LENGTH, class DATA_TYPE >
The documentation for this class was generated from the following file: