/*enum LineState
         * {
         * Start,
         * LevelDone,
         * Text
         * };*/
        //LineState state;

        public GedcomLineStatus(ref GedcomImportResult importResult, string linefeed)
        {
            maxLineLength = 512;
            lineBuffer    = new char[maxLineLength];
            ResetLine();
            parser = new GedcomParserUtility();
            //isUtf8Format = true;
            characterSet = GedcomFileCharacterSet.Ascii;
            //fileBuffer = inFileBuffer;
            lineNo            = 1;
            lineFeedString    = linefeed;
            this.importResult = importResult;
        }
Пример #2
0
 public GedcomDecoder()
 {
     parser = new GedcomParserUtility();
 }