template <typename Type, uint16_t kMaxSize>

class Array

Defined at line 252 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 257 of file ../../third_party/openthread/src/lib/spinel/spinel_driver.hpp

uint16_t GetMaxSize ()

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

bool IsFull ()

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

otError PushBack (const Type & aEntry)

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

const Type * Find (const Type & aEntry)

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

bool Contains (const Type & aEntry)

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

Type * begin ()

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

Type * end ()

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

const Type * begin ()

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

const Type * end ()

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