SDSL 3.0.1
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 (const _node &)=default
 
_nodeoperator= (const _node &v)
 
_nodeoperator= (const pc_node &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 77 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 79 of file wt_helper.hpp.

◆ size_type

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

Definition at line 80 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 86 of file wt_helper.hpp.

◆ _node() [2/2]

template<typename t_tree_strat_fat >
sdsl::_node< t_tree_strat_fat >::_node ( const _node< t_tree_strat_fat > &  )
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 156 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 146 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 137 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 173 of file wt_helper.hpp.

◆ operator=() [1/2]

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

Definition at line 101 of file wt_helper.hpp.

◆ operator=() [2/2]

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

Definition at line 114 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 166 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 124 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 81 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 82 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 84 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 83 of file wt_helper.hpp.


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