public override Result decodeRow(int rowNumber, BitArray row, System.Collections.Hashtable hints)
        {
            int size = readers.Count;

            for (int i = 0; i < size; i++)
            {
                OneDReader reader = (OneDReader)readers[i];
                var        retval = reader.decodeRow(rowNumber, row, hints);
                if (retval.HasValue())
                {
                    return(retval);
                }
            }

            return(null);
        }
Beispiel #2
0
        public override Result decodeRow(int rowNumber, BitArray row, System.Collections.Hashtable hints)
        {
            int size = readers.Count;

            for (int i = 0; i < size; i++)
            {
                OneDReader reader = (OneDReader)readers[i];
                try {
                    return(reader.decodeRow(rowNumber, row, hints));
                } catch (ReaderException re) {
                    // continue
                }
            }

            throw new ReaderException();
        }
Beispiel #3
0
        public override Result decodeRow(int rowNumber, BitArray row, System.Collections.Generic.Dictionary <Object, Object> hints)
        {
            int size = readers.Count;

            for (int i = 0; i < size; i++)
            {
                OneDReader reader = (OneDReader)readers[i];
                try
                {
                    return(reader.decodeRow(rowNumber, row, hints));
                }
                catch (ReaderException re)
                {
                    // continue
                }
            }

            throw ReaderException.Instance;
        }