public static Glyph Find(Glyph.Name name, int key)
        {
            GlyphManager pInstance = GlyphManager.PrivGetInstance();

            // Compare functions only compares two Nodes
            pInstance.pRefNode.name = name;
            pInstance.pRefNode.key  = key;

            Glyph pData = (Glyph)pInstance.BaseFind(pInstance.pRefNode);

            return(pData);
        }
Exemple #2
0
        public static Glyph Find(Glyph.Name name, int key)
        {
            GlyphManager pMan = GlyphManager.PrivGetInstance();

            // Compare functions only compares two Nodes
            pMan.poNodeToCompare.name = name;
            pMan.poNodeToCompare.key  = key;

            Glyph pData = (Glyph)pMan.BaseFind(pMan.poNodeToCompare);

            return(pData);
        }
Exemple #3
0
        public static Glyph Find(int key)
        {
            GlyphManager pMan = GlyphManager.GetInstance();

            // Compare functions only compares two Nodes

            pMan.pNodeCompare.key = key;

            Glyph pData = (Glyph)pMan.BaseFind(pMan.pNodeCompare);

            return(pData);
        }
Exemple #4
0
        public static Glyph Find(Glyph.Name name, int key)
        {
            GlyphManager pMan = GlyphManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.pRefNode.name = name;
            pMan.pRefNode.key  = key;

            Glyph pData = (Glyph)pMan.BaseFind(pMan.pRefNode);

            Debug.Assert(pData != null);

            return(pData);
        }