emlabcpp
modern opinionated embedded C++ library
emlabcpp::contiguous_array_handle< ArrayType > Class Template Reference

#include <tree.h>

Public Types

using node_type = typename array_type::node_type
 

Public Member Functions

 contiguous_array_handle (array_type *arr)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
std::optional< node_id > get_child (child_id chid) const
 
uint32_t size () const
 
void append (node_id nid)
 

Member Typedef Documentation

◆ node_type

template<typename ArrayType >
using emlabcpp::contiguous_array_handle< ArrayType >::node_type = typename array_type::node_type

Constructor & Destructor Documentation

◆ contiguous_array_handle()

template<typename ArrayType >
emlabcpp::contiguous_array_handle< ArrayType >::contiguous_array_handle ( array_type *  arr)
inlineexplicit

Member Function Documentation

◆ append()

template<typename ArrayType >
void emlabcpp::contiguous_array_handle< ArrayType >::append ( node_id  nid)
inline

◆ begin() [1/2]

template<typename ArrayType >
iterator emlabcpp::contiguous_array_handle< ArrayType >::begin ( )
inline

◆ begin() [2/2]

template<typename ArrayType >
const_iterator emlabcpp::contiguous_array_handle< ArrayType >::begin ( ) const
inline

◆ end() [1/2]

template<typename ArrayType >
iterator emlabcpp::contiguous_array_handle< ArrayType >::end ( )
inline

◆ end() [2/2]

template<typename ArrayType >
const_iterator emlabcpp::contiguous_array_handle< ArrayType >::end ( ) const
inline

◆ get_child()

template<typename ArrayType >
std::optional< node_id > emlabcpp::contiguous_array_handle< ArrayType >::get_child ( child_id  chid) const
inline

◆ size()

template<typename ArrayType >
uint32_t emlabcpp::contiguous_array_handle< ArrayType >::size ( ) const
inline

The documentation for this class was generated from the following file: