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

#include "codes/BinaryPrefixTree.h"

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

Public Types

enum class  Type : uint8_t { Branch , Leaf }

Public Member Functions

 operator typename Node::Type () const final
 Leaf ()=default
 Leaf (CodeTy value_)
virtual operator Type () const =0
BranchgetAsBranch ()
LeafgetAsLeaf ()

Public Attributes

CodeTy value

Detailed Description

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

Definition at line 70 of file BinaryPrefixTree.h.

Member Enumeration Documentation

◆ Type

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

Definition at line 45 of file BinaryPrefixTree.h.

Constructor & Destructor Documentation

◆ Leaf() [1/2]

template<typename CodeTag>
rawspeed::BinaryPrefixTree< CodeTag >::Leaf::Leaf ( )
default

◆ Leaf() [2/2]

template<typename CodeTag>
rawspeed::BinaryPrefixTree< CodeTag >::Leaf::Leaf ( CodeTy value_)
inlineexplicit

Definition at line 79 of file BinaryPrefixTree.h.

References value.

Member Function Documentation

◆ getAsBranch()

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

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 ( )
inlineinherited

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 virtualinherited

◆ operator typename Node::Type()

template<typename CodeTag>
rawspeed::BinaryPrefixTree< CodeTag >::Leaf::operator typename Node::Type ( ) const
inlineexplicitfinal

Definition at line 71 of file BinaryPrefixTree.h.

Member Data Documentation

◆ value

template<typename CodeTag>
CodeTy rawspeed::BinaryPrefixTree< CodeTag >::Leaf::value

Definition at line 75 of file BinaryPrefixTree.h.

Referenced by Leaf().


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