Otclient  14/8/2020
OutputBinaryTree Class Reference

#include <binarytree.h>

Inheritance diagram for OutputBinaryTree:
Collaboration diagram for OutputBinaryTree:

Public Member Functions

 OutputBinaryTree (const FileStreamPtr &finish)
 
void addU8 (uint8 v)
 
void addU16 (uint16 v)
 
void addU32 (uint32 v)
 
void addString (const std::string &v)
 
void addPos (uint16 x, uint16 y, uint8 z)
 
void addPoint (const Point &point)
 
void startNode (uint8 node)
 
void endNode ()
 
- 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 ()
 

Protected Member Functions

void write (const uint8 *data, size_t size)
 

Detailed Description

Definition at line 66 of file binarytree.h.

Constructor & Destructor Documentation

◆ OutputBinaryTree()

OutputBinaryTree::OutputBinaryTree ( const FileStreamPtr finish)

Definition at line 182 of file binarytree.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addPoint()

void OutputBinaryTree::addPoint ( const Point point)

Definition at line 223 of file binarytree.cpp.

Here is the call graph for this function:

◆ addPos()

void OutputBinaryTree::addPos ( uint16  x,
uint16  y,
uint8  z 
)

Definition at line 216 of file binarytree.cpp.

Here is the call graph for this function:

◆ addString()

void OutputBinaryTree::addString ( const std::string &  v)

Definition at line 207 of file binarytree.cpp.

Here is the call graph for this function:

◆ addU16()

void OutputBinaryTree::addU16 ( uint16  v)

Definition at line 193 of file binarytree.cpp.

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

◆ addU32()

void OutputBinaryTree::addU32 ( uint32  v)

Definition at line 200 of file binarytree.cpp.

Here is the call graph for this function:

◆ addU8()

void OutputBinaryTree::addU8 ( uint8  v)

Definition at line 188 of file binarytree.cpp.

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

◆ endNode()

void OutputBinaryTree::endNode ( )

Definition at line 235 of file binarytree.cpp.

Here is the call graph for this function:

◆ startNode()

void OutputBinaryTree::startNode ( uint8  node)

Definition at line 229 of file binarytree.cpp.

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

◆ write()

void OutputBinaryTree::write ( const uint8 data,
size_t  size 
)
protected

Definition at line 240 of file binarytree.cpp.

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

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