SDSL  3.0.0
Succinct Data Structure Library
sdsl::structure_tree_node Class Reference

#include <structure_tree.hpp>

Public Member Functions

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

Public Attributes

const map_type & 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 ( const std::string &  n,
const std::string &  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 ( const std::string &  n,
const std::string &  t 
)
inline

Definition at line 47 of file structure_tree.hpp.

◆ add_size()

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

Definition at line 64 of file structure_tree.hpp.

Member Data Documentation

◆ children

const map_type& 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: