Ejemplo n.º 1
0
        // 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;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 public Repository(GedRecord lines, string ident, string remain) : base(lines, ident)
 {
     GedRecParse.NonStandardRemain(remain, this);
 }
Ejemplo n.º 4
0
 public Unknown(GedRecord lines, string ident, string tag) : base(lines, ident)
 {
     _tag = tag;
 }
Ejemplo n.º 5
0
 public DontCare(GedRecord lines, string tag) : base(lines, "")
 {
     _tag = tag;
 }
Ejemplo n.º 6
0
 public SourceRecord(GedRecord lines, string ident, string remain) : base(lines, ident)
 {
     GedRecParse.NonStandardRemain(remain, this);
 }
Ejemplo n.º 7
0
 internal IndiRecord(GedRecord lines, string ident, string remain) : base(lines, ident)
 {
     GedRecParse.NonStandardRemain(remain, this);
     Sex = 'U';
 }
Ejemplo n.º 8
0
 internal HeadRecord(GedRecord lines) : base(lines, null)
 {
     Source = Product = ProductVersion = GedVersion = CharSet = "";
     Ident  = "HEAD";
 }
Ejemplo n.º 9
0
 internal MediaRecord(GedRecord lines, string ident, string remain) : base(lines, ident)
 {
     GedRecParse.NonStandardRemain(remain, this);
 }
Ejemplo n.º 10
0
 internal FamRecord(GedRecord lines, string ident, string remain) : base(lines, ident)
 {
     ChildCount = -1;
     GedRecParse.NonStandardRemain(remain, this);
 }