SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::structure_tree_node Class Reference

#include <structure_tree.hpp>

Public Member Functions

 structure_tree_node (std::string const &n, std::string const &t)
structure_tree_nodeadd_child (std::string const &n, std::string const &t)
void add_size (size_t s)

Public Attributes

map_type const & children = m_children
size_t size = 0
std::string name
std::string type

Detailed Description

Definition at line 30 of file structure_tree.hpp.

Constructor & Destructor Documentation

◆ structure_tree_node()

sdsl::structure_tree_node::structure_tree_node ( std::string const & n,
std::string const & t )
inline

Definition at line 43 of file structure_tree.hpp.

Member Function Documentation

◆ add_child()

structure_tree_node * sdsl::structure_tree_node::add_child ( std::string const & n,
std::string const & t )
inline

Definition at line 45 of file structure_tree.hpp.

◆ add_size()

void sdsl::structure_tree_node::add_size ( size_t s)
inline

Definition at line 62 of file structure_tree.hpp.

Member Data Documentation

◆ children

map_type const& sdsl::structure_tree_node::children = m_children

Definition at line 37 of file structure_tree.hpp.

◆ name

std::string sdsl::structure_tree_node::name

Definition at line 39 of file structure_tree.hpp.

◆ size

size_t sdsl::structure_tree_node::size = 0

Definition at line 38 of file structure_tree.hpp.

◆ type

std::string sdsl::structure_tree_node::type

Definition at line 40 of file structure_tree.hpp.


The documentation for this class was generated from the following file:
  • /builddir/build/BUILD/sdsl-lite-3.0.3-build/sdsl-lite-3.0.3/include/sdsl/structure_tree.hpp