void StreamSetsFromXml(IO.XmlStream s)
        {
            m_sets = new List <StringIdSet>(s.Cursor.ChildNodes.Count);

            int index = 0;

            foreach (System.Xml.XmlNode n in s.Cursor.ChildNodes)
            {
                if (n.Name == "Set")
                {
                    var set = new StringIdSet(Definition, index);

                    s.SaveCursor(n as System.Xml.XmlElement);
                    set.StreamFromXml(s);
                    s.RestoreCursor();

                    m_sets.Add(set);
                    index++;
                }
            }

            m_sets.TrimExcess();
            CalculateCount();
        }
 void InitializeSet(int capacity)
 {
     m_set = new StringIdSet(mOwner.Definition, -1, "dynamic globals", InitialId.Set, capacity);
 }