Exemple #1
0
        private void __pathList(ref List <string> pathList, string baseStr)
        {
            if (m_children == null)
            {
                return;
            }

            for (int i = 0; i < m_children.Count; i++)
            {
                LogTrie child = m_children[i];
                string  str   = baseStr + child.m_str;
                if (child.m_terminal)
                {
                    pathList.Add(str);
                }
                child.__pathList(ref pathList, str + ".");
            }
        }