template <typename Type, uint16_t kMaxSize>

class Array

Defined at line 249 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

Represents an array of elements with a fixed max size.

Template Parameters

Type The array element type.
kMaxSize Specifies the max array size (maximum number of elements in the array).

Public Methods

void Array<Type, kMaxSize> ()

Defined at line 254 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

uint16_t GetMaxSize ()

Defined at line 259 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

bool IsFull ()

Defined at line 261 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

otError PushBack (const Type & aEntry)

Defined at line 263 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

const Type * Find (const Type & aEntry)

Defined at line 268 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

bool Contains (const Type & aEntry)

Defined at line 284 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

Type * begin ()

Defined at line 286 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

Type * end ()

Defined at line 287 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

const Type * begin ()

Defined at line 288 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

const Type * end ()

Defined at line 289 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp