Wordsearch Solver
Public Member Functions | Public Attributes | Friends | List of all members
compact_trie2::EmptyNodeView_< Iterator > Class Template Reference

An empty node is simply a single std::uint8_t (byte) with value 0. More...

#include <empty_node_view.hpp>

Public Member Functions

constexpr EmptyNodeView_ (Iterator it)
 
constexpr auto base () const
 
constexpr std::size_t size () const
 
constexpr bool is_only_end_of_word () const
 
constexpr std::uint8_t data_size () const
 
constexpr bool is_end_of_word () const
 

Public Attributes

Iterator it_
 

Friends

std::ostream & operator<< (std::ostream &os, const EmptyNodeView_ &)
 

Detailed Description

template<class Iterator>
class compact_trie2::EmptyNodeView_< Iterator >

An empty node is simply a single std::uint8_t (byte) with value 0.

Member Function Documentation

◆ base()

template<class Iterator >
constexpr auto compact_trie2::EmptyNodeView_< Iterator >::base ( ) const
inlineconstexpr
Returns
The underlying iterator

◆ data_size()

template<class Iterator >
constexpr std::uint8_t compact_trie2::EmptyNodeView_< Iterator >::data_size ( ) const
inlineconstexpr
Returns
The size in bytes of the data section of this node, 0 for EmptyNodeView_

◆ is_end_of_word()

template<class Iterator >
constexpr bool compact_trie2::EmptyNodeView_< Iterator >::is_end_of_word ( ) const
inlineconstexpr
Returns
Trivially true for an EmptyNodeView_

◆ is_only_end_of_word()

template<class Iterator >
constexpr bool compact_trie2::EmptyNodeView_< Iterator >::is_only_end_of_word ( ) const
inlineconstexpr
Returns
Trivially true for an EmptyNodeView_

◆ size()

template<class Iterator >
constexpr std::size_t compact_trie2::EmptyNodeView_< Iterator >::size ( ) const
inlineconstexpr
Returns
The size in bytes of the node

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