Files
Work/bsptree/TREENDEX.HPP
2024-08-07 09:12:07 -04:00

47 lines
992 B
C++

#ifndef _BSPTREE_TREENODEEX_HPP_
#define _BSPTREE_TREENODEEX_HPP_
#ifndef _BSPTREE_TREENODE_HPP_
#include <bsptree/treenode.hpp>
#endif
#ifndef _BSPTREE_COLORKEY_HPP_
#include <bsptree/colorkey.hpp>
#endif
#ifndef _BSPTREE_RGBNDX_HPP_
#include <bsptree/rgbndx.hpp>
#endif
class TreeNodeEx : public TreeNode<RGBIndex>, public ColorKey
{
public:
TreeNodeEx(void);
TreeNodeEx(const TreeNodeEx &someTreeNodeEx);
TreeNodeEx(const TreeNode<RGBIndex> &someTreeNode,const ColorKey &someColorKey);
~TreeNodeEx();
private:
};
inline
TreeNodeEx::TreeNodeEx(void)
{
}
inline
TreeNodeEx::TreeNodeEx(const TreeNodeEx &someTreeNodeEx)
{
((TreeNode<RGBIndex> &)*this)=(TreeNode<RGBIndex>&)someTreeNodeEx;
((ColorKey&)*this)=(ColorKey&)(ColorKey&)someTreeNodeEx;
}
inline
TreeNodeEx::TreeNodeEx(const TreeNode<RGBIndex> &someTreeNode,const ColorKey &someColorKey)
{
((TreeNode<RGBIndex>&)*this)=someTreeNode;
((ColorKey&)*this)=someColorKey;
}
inline
TreeNodeEx::~TreeNodeEx()
{
}
#endif