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

#include "codes/BinaryPrefixTree.h"

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

Public Types

enum class  Type : uint8_t { Branch , Leaf }

Public Member Functions

 operator typename Node::Type () const final
virtual operator Type () const =0
BranchgetAsBranch ()
LeafgetAsLeaf ()

Public Attributes

std::array< std::unique_ptr< Node >, 2 > buds

Detailed Description

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

Definition at line 62 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.

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 >::Branch::operator typename Node::Type ( ) const
inlineexplicitfinal

Definition at line 63 of file BinaryPrefixTree.h.

Member Data Documentation

◆ buds

template<typename CodeTag>
std::array<std::unique_ptr<Node>, 2> rawspeed::BinaryPrefixTree< CodeTag >::Branch::buds

Definition at line 67 of file BinaryPrefixTree.h.


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