mdds
|
#include <trie_map.hpp>
Public Member Functions | |
const_node_type (const const_node_type &other) | |
const_node_type & | operator= (const const_node_type &other) |
bool | valid () const |
bool | has_child () const |
bool | has_value () const |
const value_type & | value () const |
const_node_type | child (key_unit_type c) const |
Friends | |
class | trie_map |
Represents an individual node of a trie.
const_node_type mdds::trie_map< KeyT, ValueT, TraitsT >::const_node_type::child | ( | key_unit_type | c | ) | const |
Move to a child node by a unit key.
c | A unit key associated with a child node relative to the current node. |
bool mdds::trie_map< KeyT, ValueT, TraitsT >::const_node_type::has_child | ( | ) | const |
Query whether or not the node has at least one child node.
bool mdds::trie_map< KeyT, ValueT, TraitsT >::const_node_type::has_value | ( | ) | const |
Query whether or not the node has a value associated with it.
bool mdds::trie_map< KeyT, ValueT, TraitsT >::const_node_type::valid | ( | ) | const |
Query whether or not the node references an existing node in a tree.
const value_type & mdds::trie_map< KeyT, ValueT, TraitsT >::const_node_type::value | ( | ) | const |
Access the value associated with the node.