collection2  v0.6.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
collection2::TreeNode< Element, Size > Struct Template Reference

ツリーの各ノードを表す構造体 More...

#include <tree.hpp>

Public Member Functions

bool isLeaf () const
 リーフかどうかを調べる More...
 

Public Attributes

bool isEnabled = false
 
TreeNodelhs = nullptr
 
TreeNoderhs = nullptr
 
Element element
 

Detailed Description

template<typename Element, typename Size = size_t>
struct collection2::TreeNode< Element, Size >

ツリーの各ノードを表す構造体

Template Parameters
Element要素の型
Size要素数の型

Member Function Documentation

◆ isLeaf()

template<typename Element , typename Size = size_t>
bool collection2::TreeNode< Element, Size >::isLeaf ( ) const
inline

リーフかどうかを調べる

Returns
bool

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