Clear()
Clears the child table.
GetChildIndex() const
Returns the child table index for a given `Child` instance.
GetChildAtIndex()
Returns a pointer to a `Child` entry at a given index, or `nullptr` if the index is out of bounds, i.e., index is larger or equal to maximum number of children allowed (@sa GetMaxChildrenAllowed()).
GetNewChild()
Gets a new/unused `Child` entry from the child table.
FindChild()
Searches the child table for a `Child` with a given RLOC16 also matching a given state filter.
FindChild()
Searches the child table for a `Child` with a given RLOC16 also matching a given state filter.
FindChild()
Searches the child table for a `Child` with a given RLOC16 also matching a given state filter.
HasChildren() const
Indicates whether the child table contains any child matching a given state filter.
GetNumChildren() const
Returns the number of children in the child table matching a given state filter.
GetMaxChildren() const
Returns the maximum number of children that can be supported (build-time constant).
GetMaxChildrenAllowed() const
Get the maximum number of children allowed.
SetMaxChildrenAllowed()
Sets the maximum number of children allowed. The number of children allowed must be at least one and at most same as maximum supported children (@sa GetMaxChildren()). It can be changed only if the child table is empty.
Iterate()
Enables range-based `for` loop iteration over all child entries in the child table matching a given state filter. Should be used as follows: for (Child &child : aChildTable.Iterate(aFilter)) { ... }.
GetChildInfoById()
Retains diagnostic information for an attached child by Child ID or RLOC16.
GetChildInfoByIndex()
Retains diagnostic information for an attached child by the internal table index.
Restore()
Restores child table from non-volatile memory.
RemoveStoredChild()
Removes a stored child information from non-volatile memory.
StoreChild()
Store a child information into non-volatile memory.
HasMinimalChild() const
Indicates whether or not the child table contains an MTD child with a given @p aRloc16. Only children in `kInStateValidOrRestoring` are considered.
HasSleepyChildWithAddress() const
Indicates whether the child table contains any sleepy child (in states valid or restoring) with a given IPv6 address.
Contains() const
Indicates whether the child table contains a given `Neighbor` instance.
FindChild()
Searches the child table for a `Child` with a given RLOC16 also matching a given state filter.
FindChild() const
RefreshStoredChildren()