Пример #1
0
/*----------------------------------------------------------------------------
	AEDispatchTree

----------------------------------------------------------------------------*/
AEDispatchTree::AEDispatchTree()
    :	mTree(nil)
{

    mTree = PatriciaInitTree(8 * sizeof(DescType));
    ThrowIfNil(mTree);
}
Пример #2
0
/*----------------------------------------------------------------------------
	CPatriciaTree
	
----------------------------------------------------------------------------*/
CPatriciaTree::CPatriciaTree(long keyBitsLen)
:	mTree(nil)
,	mKeyBits(keyBitsLen)
{

	mTree = PatriciaInitTree(mKeyBits);
	ThrowErrIfNil(mTree, paramErr);
}