Otclient  14/8/2020
BinaryTree Class Reference

#include <binarytree.h>

Inheritance diagram for BinaryTree:
Collaboration diagram for BinaryTree:

Public Member Functions

 BinaryTree (const FileStreamPtr &fin)
 
 ~BinaryTree ()
 
void seek (uint pos)
 
void skip (uint len)
 
uint tell ()
 
uint size ()
 
uint8 getU8 ()
 
uint16 getU16 ()
 
uint32 getU32 ()
 
uint64 getU64 ()
 
std::string getString (uint16 len=0)
 
Point getPoint ()
 
BinaryTreeVec getChildren ()
 
bool canRead ()
 
- Public Member Functions inherited from stdext::shared_object
 shared_object ()
 
virtual ~shared_object ()
 
void add_ref ()
 
void dec_ref ()
 
refcount_t ref_count ()
 
template<typename T >
stdext::shared_object_ptr< T > static_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > dynamic_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > const_self_cast ()
 

Detailed Description

Definition at line 35 of file binarytree.h.

Constructor & Destructor Documentation

◆ BinaryTree()

BinaryTree::BinaryTree ( const FileStreamPtr fin)

Definition at line 26 of file binarytree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~BinaryTree()

BinaryTree::~BinaryTree ( )

Definition at line 32 of file binarytree.cpp.

Member Function Documentation

◆ canRead()

bool BinaryTree::canRead ( )
inline

Definition at line 54 of file binarytree.h.

Here is the call graph for this function:

◆ getChildren()

BinaryTreeVec BinaryTree::getChildren ( )

Definition at line 82 of file binarytree.cpp.

Here is the call graph for this function:

◆ getPoint()

Point BinaryTree::getPoint ( )

Definition at line 174 of file binarytree.cpp.

Here is the call graph for this function:

◆ getString()

std::string BinaryTree::getString ( uint16  len = 0)

Definition at line 160 of file binarytree.cpp.

Here is the call graph for this function:

◆ getU16()

uint16 BinaryTree::getU16 ( )

Definition at line 130 of file binarytree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getU32()

uint32 BinaryTree::getU32 ( )

Definition at line 140 of file binarytree.cpp.

Here is the call graph for this function:

◆ getU64()

uint64 BinaryTree::getU64 ( )

Definition at line 150 of file binarytree.cpp.

Here is the call graph for this function:

◆ getU8()

uint8 BinaryTree::getU8 ( )

Definition at line 120 of file binarytree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ seek()

void BinaryTree::seek ( uint  pos)

Definition at line 106 of file binarytree.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

uint BinaryTree::size ( )
inline

Definition at line 44 of file binarytree.h.

Here is the call graph for this function:

◆ skip()

void BinaryTree::skip ( uint  len)

Definition at line 114 of file binarytree.cpp.

Here is the call graph for this function:

◆ tell()

uint BinaryTree::tell ( )
inline

Definition at line 43 of file binarytree.h.

Here is the caller graph for this function:

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