emlabcpp
modern opinionated embedded C++ library
emlabcpp::contiguous_object_handle< ObjectType > Class Template Reference

#include <tree.h>

Public Types

using node_type = typename object_type::node_type
 

Public Member Functions

 contiguous_object_handle (object_type *obj)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
std::optional< node_id > get_child (child_id chid) const
 
std::optional< node_id > get_child (key_type k) const
 
uint32_t size () const
 
key_type const * get_key (child_id chid) const
 
void set (key_type const &k, node_id nid)
 

Member Typedef Documentation

◆ node_type

template<typename ObjectType >
using emlabcpp::contiguous_object_handle< ObjectType >::node_type = typename object_type::node_type

Constructor & Destructor Documentation

◆ contiguous_object_handle()

template<typename ObjectType >
emlabcpp::contiguous_object_handle< ObjectType >::contiguous_object_handle ( object_type *  obj)
inlineexplicit

Member Function Documentation

◆ begin() [1/2]

template<typename ObjectType >
iterator emlabcpp::contiguous_object_handle< ObjectType >::begin ( )
inline

◆ begin() [2/2]

template<typename ObjectType >
const_iterator emlabcpp::contiguous_object_handle< ObjectType >::begin ( ) const
inline

◆ end() [1/2]

template<typename ObjectType >
iterator emlabcpp::contiguous_object_handle< ObjectType >::end ( )
inline

◆ end() [2/2]

template<typename ObjectType >
const_iterator emlabcpp::contiguous_object_handle< ObjectType >::end ( ) const
inline

◆ get_child() [1/2]

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

◆ get_child() [2/2]

template<typename ObjectType >
std::optional< node_id > emlabcpp::contiguous_object_handle< ObjectType >::get_child ( key_type  k) const
inline

◆ get_key()

template<typename ObjectType >
key_type const* emlabcpp::contiguous_object_handle< ObjectType >::get_key ( child_id  chid) const
inline

◆ set()

template<typename ObjectType >
void emlabcpp::contiguous_object_handle< ObjectType >::set ( key_type const &  k,
node_id  nid 
)
inline

◆ size()

template<typename ObjectType >
uint32_t emlabcpp::contiguous_object_handle< ObjectType >::size ( ) const
inline

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