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

        public GedcomLineStatus(ref FileImportResult 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;
        }
Esempio n. 2
0
 public GedcomDecoder()
 {
     parser = new GedcomParserUtility();
     trace.TraceData(TraceEventType.Information, 0, "Create");
 }