コード例 #1
0
        /// <summary>
        /// Gets the data for the following key.
        /// </summary>
        /// <param name="key">The key to look up. Only uses the key portion of the TKeyValue</param>
        /// <param name="level"></param>
        public uint Get(TKey key, byte level)
        {
            if (RootNodeLevel == 0)
            {
                return(RootNodeIndexAddress);
            }
            SortedTreeNodeBase <TKey, SnapUInt32> node = FindNode(key, level + 1);

            node.GetOrGetNext(key, m_tmpValue);
            return(m_tmpValue.Value);
        }