// TODO revisit this, esp. not using StringPlus if not required for UID/AFN/RFN/REFN //// Container for other ids (REFN, UID, AFN, RFN) //// NOTE: RIN is not here because used by > 50% of records //private IdHold _ids; //public IdHold Ids { get { return _ids ?? (_ids = new IdHold()); } } internal GEDCommon(GedRecord lines, string ident) { Ident = ident; if (lines == null) // DrawAnce creating INDI on-the-fly { return; } BegLine = lines.Beg; EndLine = lines.End; }
internal void Init(ParseContextCommon ctx) { Lines = ctx.Lines; Begline = ctx.Begline; Endline = ctx.Endline; Level = ctx.Level; Remain1 = ctx.Remain1; gs = ctx.gs; tagCache = ctx.tagCache; }
public Repository(GedRecord lines, string ident, string remain) : base(lines, ident) { GedRecParse.NonStandardRemain(remain, this); }
public Unknown(GedRecord lines, string ident, string tag) : base(lines, ident) { _tag = tag; }
public DontCare(GedRecord lines, string tag) : base(lines, "") { _tag = tag; }
public SourceRecord(GedRecord lines, string ident, string remain) : base(lines, ident) { GedRecParse.NonStandardRemain(remain, this); }
internal IndiRecord(GedRecord lines, string ident, string remain) : base(lines, ident) { GedRecParse.NonStandardRemain(remain, this); Sex = 'U'; }
internal HeadRecord(GedRecord lines) : base(lines, null) { Source = Product = ProductVersion = GedVersion = CharSet = ""; Ident = "HEAD"; }
internal MediaRecord(GedRecord lines, string ident, string remain) : base(lines, ident) { GedRecParse.NonStandardRemain(remain, this); }
internal FamRecord(GedRecord lines, string ident, string remain) : base(lines, ident) { ChildCount = -1; GedRecParse.NonStandardRemain(remain, this); }