Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Rope< Char, LeafSize >::Node Struct Reference
Collaboration diagram for Aleph::Rope< Char, LeafSize >::Node:
[legend]

Public Member Functions

bool is_leaf () const noexcept
 

Public Attributes

size_t length = 0
 
size_t depth = 0
 
std::unique_ptr< const SmallVector< Char, LeafSize > > leaf_data
 
std::shared_ptr< const Node > left
 
std::shared_ptr< const Node > right
 

Detailed Description

template<typename Char = char, size_t LeafSize = 256>
struct Aleph::Rope< Char, LeafSize >::Node

Definition at line 184 of file tpl_rope.H.

Member Function Documentation

◆ is_leaf()

template<typename Char = char, size_t LeafSize = 256>
bool Aleph::Rope< Char, LeafSize >::Node::is_leaf ( ) const
inlinenoexcept

Member Data Documentation

◆ depth

template<typename Char = char, size_t LeafSize = 256>
size_t Aleph::Rope< Char, LeafSize >::Node::depth = 0

Definition at line 187 of file tpl_rope.H.

◆ leaf_data

template<typename Char = char, size_t LeafSize = 256>
std::unique_ptr<const SmallVector<Char, LeafSize> > Aleph::Rope< Char, LeafSize >::Node::leaf_data

◆ left

template<typename Char = char, size_t LeafSize = 256>
std::shared_ptr<const Node> Aleph::Rope< Char, LeafSize >::Node::left

◆ length

template<typename Char = char, size_t LeafSize = 256>
size_t Aleph::Rope< Char, LeafSize >::Node::length = 0

Definition at line 186 of file tpl_rope.H.

Referenced by Aleph::Rope< Char, LeafSize >::operator==().

◆ right

template<typename Char = char, size_t LeafSize = 256>
std::shared_ptr<const Node> Aleph::Rope< Char, LeafSize >::Node::right

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