LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | List of all members
HuffmanTreeNode Class Reference

#include <explode.hxx>

Public Member Functions

 HuffmanTreeNode (sal_uInt32 value=0xffffffff)
 
 ~HuffmanTreeNode ()
 
HuffmanTreeNodeInsertNode (sal_uInt32 nValue, const char *pInCode)
 
HuffmanTreeNodeQueryNode (const char *pCode)
 
sal_uInt32 QueryValue (const char *pCode)
 

Private Attributes

std::unique_ptr< HuffmanTreeNodeleft
 
std::unique_ptr< HuffmanTreeNoderight
 
sal_uInt32 value
 

Detailed Description

Definition at line 64 of file explode.hxx.

Constructor & Destructor Documentation

◆ HuffmanTreeNode()

HuffmanTreeNode::HuffmanTreeNode ( sal_uInt32  value = 0xffffffff)
explicit

Definition at line 452 of file explode.cxx.

References nValue, and value.

Referenced by InsertNode().

◆ ~HuffmanTreeNode()

HuffmanTreeNode::~HuffmanTreeNode ( )

Definition at line 455 of file explode.cxx.

Member Function Documentation

◆ InsertNode()

HuffmanTreeNode * HuffmanTreeNode::InsertNode ( sal_uInt32  nValue,
const char *  pInCode 
)

Definition at line 459 of file explode.cxx.

References HuffmanTreeNode(), InsertNode(), left, nValue, QueryNode(), and right.

Referenced by InsertNode().

◆ QueryNode()

HuffmanTreeNode * HuffmanTreeNode::QueryNode ( const char *  pCode)

Definition at line 480 of file explode.cxx.

References i, left, and right.

Referenced by InsertNode(), and QueryValue().

◆ QueryValue()

sal_uInt32 HuffmanTreeNode::QueryValue ( const char *  pCode)

Definition at line 500 of file explode.cxx.

References QueryNode(), and value.

Referenced by Decompression::Decode().

Member Data Documentation

◆ left

std::unique_ptr<HuffmanTreeNode> HuffmanTreeNode::left
private

Definition at line 66 of file explode.hxx.

Referenced by InsertNode(), and QueryNode().

◆ right

std::unique_ptr<HuffmanTreeNode> HuffmanTreeNode::right
private

Definition at line 67 of file explode.hxx.

Referenced by InsertNode(), and QueryNode().

◆ value

sal_uInt32 HuffmanTreeNode::value
private

Definition at line 68 of file explode.hxx.

Referenced by QueryValue().


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