Bash++
Bash++ compiler internal documentation
Public Member Functions | Private Attributes | List of all members
IntervalNode< T > Class Template Reference

#include <IntervalTree.h>

Public Member Functions

 IntervalNode (uint64_t low, uint64_t high, T payload)
 
 IntervalNode (uint64_t low, uint64_t high)
 
uint64_t low () const
 
uint64_t high () const
 
uint64_t max () const
 
payload () const
 
std::unique_ptr< IntervalNode< T > > & left ()
 
std::unique_ptr< IntervalNode< T > > & right ()
 
void set_left (std::unique_ptr< IntervalNode< T > > left)
 
void set_right (std::unique_ptr< IntervalNode< T > > right)
 
void set_low (uint64_t low)
 
void set_high (uint64_t high)
 
void set_max (uint64_t max)
 
void set_payload (T payload)
 

Private Attributes

std::unique_ptr< IntervalNode< T > > _left
 
std::unique_ptr< IntervalNode< T > > _right
 
uint64_t _low
 
uint64_t _high
 
uint64_t _max
 
_payload
 

Detailed Description

template<class T>
class IntervalNode< T >

Copyright (C) 2025 Andrew S. Rightenburg Bash++: Bash with classes

Constructor & Destructor Documentation

◆ IntervalNode() [1/2]

template<class T >
IntervalNode< T >::IntervalNode ( uint64_t  low,
uint64_t  high,
payload 
)
inline

◆ IntervalNode() [2/2]

template<class T >
IntervalNode< T >::IntervalNode ( uint64_t  low,
uint64_t  high 
)
inline

Member Function Documentation

◆ high()

template<class T >
uint64_t IntervalNode< T >::high ( ) const
inline

◆ left()

template<class T >
std::unique_ptr< IntervalNode< T > > & IntervalNode< T >::left ( )
inline

◆ low()

template<class T >
uint64_t IntervalNode< T >::low ( ) const
inline

◆ max()

template<class T >
uint64_t IntervalNode< T >::max ( ) const
inline

◆ payload()

template<class T >
T IntervalNode< T >::payload ( ) const
inline

◆ right()

template<class T >
std::unique_ptr< IntervalNode< T > > & IntervalNode< T >::right ( )
inline

◆ set_high()

template<class T >
void IntervalNode< T >::set_high ( uint64_t  high)
inline

◆ set_left()

template<class T >
void IntervalNode< T >::set_left ( std::unique_ptr< IntervalNode< T > >  left)
inline

◆ set_low()

template<class T >
void IntervalNode< T >::set_low ( uint64_t  low)
inline

◆ set_max()

template<class T >
void IntervalNode< T >::set_max ( uint64_t  max)
inline

◆ set_payload()

template<class T >
void IntervalNode< T >::set_payload ( payload)
inline

◆ set_right()

template<class T >
void IntervalNode< T >::set_right ( std::unique_ptr< IntervalNode< T > >  right)
inline

Member Data Documentation

◆ _high

template<class T >
uint64_t IntervalNode< T >::_high
private

◆ _left

template<class T >
std::unique_ptr<IntervalNode<T> > IntervalNode< T >::_left
private

◆ _low

template<class T >
uint64_t IntervalNode< T >::_low
private

◆ _max

template<class T >
uint64_t IntervalNode< T >::_max
private

◆ _payload

template<class T >
T IntervalNode< T >::_payload
private

◆ _right

template<class T >
std::unique_ptr<IntervalNode<T> > IntervalNode< T >::_right
private

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