RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::BinaryPrefixTree< CodeTag >::Node Struct Referenceabstract

#include "codes/BinaryPrefixTree.h"

Inheritance diagram for rawspeed::BinaryPrefixTree< CodeTag >::Node:
[legend]

Public Types

enum class  Type : uint8_t { Branch , Leaf }

Public Member Functions

virtual operator Type () const =0
BranchgetAsBranch ()
LeafgetAsLeaf ()
virtual ~Node ()=default

Detailed Description

template<typename CodeTag>
struct rawspeed::BinaryPrefixTree< CodeTag >::Node

Definition at line 44 of file BinaryPrefixTree.h.

Member Enumeration Documentation

◆ Type

template<typename CodeTag>
enum class rawspeed::BinaryPrefixTree::Node::Type : uint8_t
strong
Enumerator
Branch 
Leaf 

Definition at line 45 of file BinaryPrefixTree.h.

Constructor & Destructor Documentation

◆ ~Node()

template<typename CodeTag>
virtual rawspeed::BinaryPrefixTree< CodeTag >::Node::~Node ( )
virtualdefault

Member Function Documentation

◆ getAsBranch()

template<typename CodeTag>
Branch & rawspeed::BinaryPrefixTree< CodeTag >::Node::getAsBranch ( )
inline

Definition at line 49 of file BinaryPrefixTree.h.

References assert().

Here is the call graph for this function:

◆ getAsLeaf()

template<typename CodeTag>
Leaf & rawspeed::BinaryPrefixTree< CodeTag >::Node::getAsLeaf ( )
inline

Definition at line 54 of file BinaryPrefixTree.h.

References assert().

Here is the call graph for this function:

◆ operator Type()

template<typename CodeTag>
virtual rawspeed::BinaryPrefixTree< CodeTag >::Node::operator Type ( ) const
explicitpure virtual

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