Detailed Description
template<typename DATA_TYPE, typename KEY_COMPARE_FUNCTOR,
typename ALLOCATOR>
class FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType
This class represents a node in the tree.
It contains the key, the value, and internal tree management
data.
Definition at line 245 of file fbxmap.h.
#include <fbxmap.h>
List of all
members.
Member Function Documentation
Definition at line 248 of file fbxmap.h.
{ return mData.GetKey(); }
Definition at line 249 of file fbxmap.h.
{ return mData.GetValue(); }
Definition at line 250 of file fbxmap.h.
{ return mData.GetValue(); }
Definition at line 252 of file fbxmap.h.
{
const RecordType* lParent = 0;
const RecordType* lNode = this;
while (lNode != 0)
{
lParent = lNode;
lNode = lNode->mLeftChild;
}
return lParent;
}
Definition at line 265 of file fbxmap.h.
{
RecordType* lParent = 0;
RecordType* lNode = this;
while (lNode != 0)
{
lParent = lNode;
lNode = lNode->mLeftChild;
}
return lParent;
}
Definition at line 278 of file fbxmap.h.
{
const RecordType* lParent = 0;
const RecordType* lNode = this;
while (lNode != 0)
{
lParent = lNode;
lNode = lNode->mRightChild;
}
return lParent;
}
Definition at line 291 of file fbxmap.h.
{
RecordType* lParent = 0;
RecordType* lNode = this;
while (lNode != 0)
{
lParent = lNode;
lNode = lNode->mRightChild;
}
return lParent;
}
Definition at line 304 of file fbxmap.h.
{
if (mLeftChild)
{
return mLeftChild->Maximum();
}
else
{
const RecordType* lParent = mParent;
const RecordType* lNode = this;
while (lParent && lParent->mLefttChild == lNode)
{
lNode = lParent;
lParent = lParent->mParent;
}
return lParent;
}
}
Definition at line 325 of file fbxmap.h.
{
if (mLeftChild)
{
return mLeftChild->Maximum();
}
else
{
RecordType* lParent = mParent;
RecordType* lNode = this;
while (lParent && lParent->mLeftChild == lNode)
{
lNode = lParent;
lParent = lParent->mParent;
}
return lParent;
}
}
Definition at line 346 of file fbxmap.h.
{
if (mRightChild)
{
return mRightChild->Minimum();
}
else
{
const RecordType* lParent = mParent;
const RecordType* lNode = this;
while (lParent && lParent->mRightChild == lNode)
{
lNode = lParent;
lParent = lParent->mParent;
}
return lParent;
}
}
Definition at line 367 of file fbxmap.h.
{
if (mRightChild)
{
return mRightChild->Minimum();
}
else
{
RecordType* lParent = mParent;
RecordType* lNode = this;
while (lParent && lParent->mRightChild == lNode)
{
lNode = lParent;
lParent = lParent->mParent;
}
return lParent;
}
}
| const int GetBlackDepth |
( |
|
) |
[inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following
file:
FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType FbxRedBlackTree<
DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType
FbxRedBlackTree< DATA_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR
>::RecordType FbxRedBlackTree< DATA_TYPE,
KEY_COMPARE_FUNCTOR, ALLOCATOR >::RecordType