SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::_node< t_tree_strat_fat > Struct Template Reference

#include <wt_helper.hpp>

Public Types

using node_type = typename t_tree_strat_fat::node_type
 
typedef uint64_t size_type
 

Public Member Functions

 _node (uint64_t bv_pos=0, uint64_t bv_pos_rank=0, node_type parent=t_tree_strat_fat::undef, node_type child_left=t_tree_strat_fat::undef, node_type child_right=t_tree_strat_fat::undef)
 
 _node (_node const &)=default
 
_nodeoperator= (_node const &v)
 
_nodeoperator= (pc_node const &v)
 
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
 
void load (std::istream &in)
 
template<typename archive_t >
void CEREAL_SAVE_FUNCTION_NAME (archive_t &ar) const
 
template<typename archive_t >
void CEREAL_LOAD_FUNCTION_NAME (archive_t &ar)
 
bool operator== (_node const &other) const noexcept
 Equality operator.
 
bool operator!= (_node const &other) const noexcept
 Inequality operator.
 

Public Attributes

uint64_t bv_pos = 0
 
uint64_t bv_pos_rank = 0
 
node_type parent = t_tree_strat_fat::undef
 
node_type child [2] = {t_tree_strat_fat::undef, t_tree_strat_fat::undef}
 

Detailed Description

template<typename t_tree_strat_fat>
struct sdsl::_node< t_tree_strat_fat >

Definition at line 92 of file wt_helper.hpp.

Member Typedef Documentation

◆ node_type

template<typename t_tree_strat_fat >
using sdsl::_node< t_tree_strat_fat >::node_type = typename t_tree_strat_fat::node_type

Definition at line 94 of file wt_helper.hpp.

◆ size_type

template<typename t_tree_strat_fat >
uint64_t sdsl::_node< t_tree_strat_fat >::size_type

Definition at line 95 of file wt_helper.hpp.

Constructor & Destructor Documentation

◆ _node() [1/2]

template<typename t_tree_strat_fat >
sdsl::_node< t_tree_strat_fat >::_node ( uint64_t bv_pos = 0,
uint64_t bv_pos_rank = 0,
node_type parent = t_tree_strat_fat::undef,
node_type child_left = t_tree_strat_fat::undef,
node_type child_right = t_tree_strat_fat::undef )
inline

Definition at line 101 of file wt_helper.hpp.

◆ _node() [2/2]

template<typename t_tree_strat_fat >
sdsl::_node< t_tree_strat_fat >::_node ( _node< t_tree_strat_fat > const & )
default

Member Function Documentation

◆ CEREAL_LOAD_FUNCTION_NAME()

template<typename t_tree_strat_fat >
template<typename archive_t >
void sdsl::_node< t_tree_strat_fat >::CEREAL_LOAD_FUNCTION_NAME ( archive_t & ar)
inline

Definition at line 171 of file wt_helper.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<typename t_tree_strat_fat >
template<typename archive_t >
void sdsl::_node< t_tree_strat_fat >::CEREAL_SAVE_FUNCTION_NAME ( archive_t & ar) const
inline

Definition at line 161 of file wt_helper.hpp.

◆ load()

template<typename t_tree_strat_fat >
void sdsl::_node< t_tree_strat_fat >::load ( std::istream & in)
inline

Definition at line 152 of file wt_helper.hpp.

◆ operator!=()

template<typename t_tree_strat_fat >
bool sdsl::_node< t_tree_strat_fat >::operator!= ( _node< t_tree_strat_fat > const & other) const
inlinenoexcept

Inequality operator.

Definition at line 188 of file wt_helper.hpp.

◆ operator=() [1/2]

template<typename t_tree_strat_fat >
_node & sdsl::_node< t_tree_strat_fat >::operator= ( _node< t_tree_strat_fat > const & v)
inline

Definition at line 116 of file wt_helper.hpp.

◆ operator=() [2/2]

template<typename t_tree_strat_fat >
_node & sdsl::_node< t_tree_strat_fat >::operator= ( pc_node< t_tree_strat_fat > const & v)
inline

Definition at line 129 of file wt_helper.hpp.

◆ operator==()

template<typename t_tree_strat_fat >
bool sdsl::_node< t_tree_strat_fat >::operator== ( _node< t_tree_strat_fat > const & other) const
inlinenoexcept

Equality operator.

Definition at line 181 of file wt_helper.hpp.

◆ serialize()

template<typename t_tree_strat_fat >
size_type sdsl::_node< t_tree_strat_fat >::serialize ( std::ostream & out,
structure_tree_node< t_tree_strat_fat > * v = nullptr,
std::string name = "" ) const
inline

Definition at line 139 of file wt_helper.hpp.

Member Data Documentation

◆ bv_pos

template<typename t_tree_strat_fat >
uint64_t sdsl::_node< t_tree_strat_fat >::bv_pos = 0

Definition at line 96 of file wt_helper.hpp.

◆ bv_pos_rank

template<typename t_tree_strat_fat >
uint64_t sdsl::_node< t_tree_strat_fat >::bv_pos_rank = 0

Definition at line 97 of file wt_helper.hpp.

◆ child

template<typename t_tree_strat_fat >
node_type sdsl::_node< t_tree_strat_fat >::child[2] = {t_tree_strat_fat::undef, t_tree_strat_fat::undef}

Definition at line 99 of file wt_helper.hpp.

◆ parent

template<typename t_tree_strat_fat >
node_type sdsl::_node< t_tree_strat_fat >::parent = t_tree_strat_fat::undef

Definition at line 98 of file wt_helper.hpp.


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