public GDMSourceCitationData()
        {
            SetName(GEDCOMTagType.DATA);

            fDate = new GDMDateValue();
            fText = new GDMTextTag((int)GEDCOMTagType.TEXT);
        }
Esempio n. 2
0
        public GDMSourceCitation()
        {
            SetName(GEDCOMTagType.SOUR);

            fCertaintyAssessment = -1;
            fDescription         = new GDMLines();
            fPage = string.Empty;

            fData = new GDMSourceCitationData();
            fText = new GDMTextTag((int)GEDCOMTagType.TEXT);
        }
Esempio n. 3
0
        public GDMSourceRecord(GDMObject owner) : base(owner)
        {
            SetName(GEDCOMTagType.SOUR);

            fData                = new GDMSourceData(this);
            fOriginator          = new GDMTextTag(this, (int)GEDCOMTagType.AUTH);
            fPublication         = new GDMTextTag(this, (int)GEDCOMTagType.PUBL);
            fRepositoryCitations = new GDMList <GDMRepositoryCitation>(this);
            fShortTitle          = string.Empty;
            fText                = new GDMTextTag(this, (int)GEDCOMTagType.TEXT);
            fTitle               = new GDMTextTag(this, (int)GEDCOMTagType.TITL);
        }
Esempio n. 4
0
        public GDMHeader(GDMObject owner) : base(owner)
        {
            SetName(GEDCOMTagType.HEAD);

            fCharacterSet = new GDMHeaderCharSet(this);
            fFile         = new GDMHeaderFile(this);
            fGEDCOM       = new GDMHeaderGEDCOM(this);
            fNote         = new GDMTextTag(this, (int)GEDCOMTagType.NOTE);
            fPlace        = new GDMPlace(this);
            fSource       = new GDMHeaderSource(this);
            fSubmission   = new GDMPointer(this, (int)GEDCOMTagType.SUBN, string.Empty);
            fSubmitter    = new GDMPointer(this, (int)GEDCOMTagType.SUBM, string.Empty);
        }
Esempio n. 5
0
        public override void Assign(GDMTag source)
        {
            GDMTextTag sourceObj = (source as GDMTextTag);

            if (sourceObj == null)
            {
                throw new ArgumentException(@"Argument is null or wrong type", "source");
            }

            base.Assign(sourceObj);

            fLines.Assign(sourceObj.fLines);
        }
Esempio n. 6
0
        public GDMHeader()
        {
            SetName(GEDCOMTagType.HEAD);

            fCharacterSet = new GDMHeaderCharSet();
            fFile         = new GDMHeaderFile();
            fGEDCOM       = new GDMHeaderGEDCOM();
            fNote         = new GDMTextTag((int)GEDCOMTagType.NOTE);
            fPlace        = new GDMPlace();
            fSource       = new GDMHeaderSource();
            fSubmission   = new GDMPointer((int)GEDCOMTagType.SUBN, string.Empty);
            fSubmitter    = new GDMPointer((int)GEDCOMTagType.SUBM, string.Empty);
        }