public GDMGroupRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType._GROUP); fGroupName = string.Empty; fMembers = new GDMList <GDMIndividualLink>(this); }
public GDMFileReference(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.FILE); fMultimediaFormat = GDMMultimediaFormat.mfNone; fMediaType = GDMMediaType.mtUnknown; }
public GDMSourceEvent(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.EVEN); fDate = new GDMDatePeriod(this); fPlace = new GDMPlace(this); }
public GDMCommunicationRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType._COMM); fDate = new GDMDate(this); fCorresponder = new GDMIndividualLink(this); }
public GDMRepositoryRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.REPO); fAddress = new GDMAddress(this); fRepositoryName = string.Empty; }
public GDMSourceData(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.DATA); fAgency = string.Empty; fEvents = new GDMList <GDMSourceEvent>(this); }
public GDMTaskRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType._TASK); fStartDate = new GDMDate(this, (int)GEDCOMTagType._STARTDATE, string.Empty); fStopDate = new GDMDate(this, (int)GEDCOMTagType._STOPDATE, string.Empty); }
public virtual GDMTree GetTree() { GDMTree owner = null; GDMTag current = this; while (current != null) { GDMObject parent = current.fOwner; var parentTag = parent as GDMTag; if (parentTag != null) { current = parentTag; } else { var parentTree = parent as GDMTree; if (parentTree != null) { owner = parentTree; } break; } } return(owner); }
public GDMTag(GDMObject owner) { fId = 0; // Unknown fOwner = owner; fTags = new GDMList <GDMTag>(this); fStringValue = string.Empty; }
public GDMFamilyRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.FAM); fHusband = new GDMIndividualLink(this, (int)GEDCOMTagType.HUSB, string.Empty); fWife = new GDMIndividualLink(this, (int)GEDCOMTagType.WIFE, string.Empty); fChildren = new GDMList <GDMIndividualLink>(this); }
public static GDMDate CreateApproximated(GDMObject owner, GDMDate date, GDMApproximated approximated) { GDMDate result = new GDMDate(owner); result.Assign(date); result.Approximated = approximated; return(result); }
public GDMPlace(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.PLAC); fForm = string.Empty; fLocation = new GDMPointer(this, (int)GEDCOMTagType._LOC, string.Empty); fMap = new GDMMap(this); }
public GDMSourceCitation(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.SOUR); fCertaintyAssessment = -1; fDescription = new StringList(); fPage = string.Empty; }
public GDMPersonalName(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.NAME); fPieces = new GDMPersonalNamePieces(this); fFirstPart = string.Empty; fSurname = string.Empty; fLastPart = string.Empty; }
public GDMSubmitterRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.SUBM); fAddress = new GDMAddress(this); fLanguages = new GDMList <GDMLanguage>(this); fName = new GDMPersonalName(this); fRegisteredReference = string.Empty; }
protected GDMCustomEvent(GDMObject owner) : base(owner) { fAddress = new GDMAddress(this); fDate = new GDMDateValue(this); fPlace = new GDMPlace(this); fNotes = new GDMList <GDMNotes>(this); fSourceCitations = new GDMList <GDMSourceCitation>(this); fMultimediaLinks = new GDMList <GDMMultimediaLink>(this); }
public GDMRecord(GDMObject owner) : base(owner) { fAutomatedRecordID = string.Empty; fChangeDate = new GDMChangeDate(this); fNotes = new GDMList <GDMNotes>(this); fSourceCitations = new GDMList <GDMSourceCitation>(this); fMultimediaLinks = new GDMList <GDMMultimediaLink>(this); fUserReferences = new GDMList <GDMUserReference>(this); }
public GDMDate(GDMObject owner) : base(owner) { fApproximated = GDMApproximated.daExact; fCalendar = GDMCalendar.dcGregorian; fYear = UNKNOWN_YEAR; fYearBC = false; fYearModifier = string.Empty; fMonth = 0; fDay = 0; }
public GDMMultimediaLink(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.OBJE); fCutoutPosition = new GDMCutoutPosition(this); fFileReferences = new GDMList <GDMFileReference>(this); fIsPrimary = false; fIsPrimaryCutout = false; fTitle = string.Empty; }
public GDMResearchRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType._RESEARCH); fStartDate = new GDMDate(this, (int)GEDCOMTagType._STARTDATE, string.Empty); fStopDate = new GDMDate(this, (int)GEDCOMTagType._STOPDATE, string.Empty); fTasks = new GDMList <GDMPointer>(this); fCommunications = new GDMList <GDMPointer>(this); fGroups = new GDMList <GDMPointer>(this); }
public GDMSubmissionRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.SUBN); fFamilyFileName = string.Empty; fTempleCode = string.Empty; fGenerationsOfAncestors = -1; fGenerationsOfDescendants = -1; fOrdinanceProcessFlag = GDMOrdinanceProcessFlag.opNone; fSubmitter = new GDMPointer(this, (int)GEDCOMTagType.SUBM, string.Empty); }
public GDMIndividualRecord(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.INDI); fAliases = new GDMList <GDMAlias>(this); fAssociations = new GDMList <GDMAssociation>(this); fChildToFamilyLinks = new GDMList <GDMChildToFamilyLink>(this); fGroups = new GDMList <GDMPointer>(this); fPersonalNames = new GDMList <GDMPersonalName>(this); fSpouseToFamilyLinks = new GDMList <GDMSpouseToFamilyLink>(this); }
public GDMPersonalName(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.NAME); fFirstPart = string.Empty; fSurname = string.Empty; fLastPart = string.Empty; fPieces = new GDMPersonalNamePieces(this); fNotes = new GDMList <GDMNotes>(this); fSourceCitations = new GDMList <GDMSourceCitation>(this); }
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); }
public GDMPersonalNamePieces(GDMObject owner) : base(owner) { fPrefix = string.Empty; fGiven = string.Empty; fNickname = string.Empty; fSurnamePrefix = string.Empty; fSurname = string.Empty; fSuffix = string.Empty; fPatronymicName = string.Empty; fMarriedName = string.Empty; fReligiousName = string.Empty; fCensusName = string.Empty; }
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); }
public static GDMDatePeriod CreatePeriod(GDMObject owner, GDMDate dateFrom, GDMDate dateTo) { GDMDatePeriod result = new GDMDatePeriod(owner); if (dateFrom != null) { result.DateFrom.Assign(dateFrom); } if (dateTo != null) { result.DateTo.Assign(dateTo); } return(result); }
public static GDMDateRange CreateRange(GDMObject owner, GDMDate dateAfter, GDMDate dateBefore) { GDMDateRange result = new GDMDateRange(owner); if (dateAfter != null) { result.After.Assign(dateAfter); } if (dateBefore != null) { result.Before.Assign(dateBefore); } return(result); }
public GDMAddress(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.ADDR); fLines = new GDMLines(); fAddressLine1 = string.Empty; fAddressLine2 = string.Empty; fAddressLine3 = string.Empty; fAddressCity = string.Empty; fAddressState = string.Empty; fAddressPostalCode = string.Empty; fAddressCountry = string.Empty; fPhoneList = new GDMList <GDMTag>(this); fEmailList = new GDMList <GDMTag>(this); fFaxList = new GDMList <GDMTag>(this); fWWWList = new GDMList <GDMTag>(this); }
public GDMDatePeriod(GDMObject owner) : base(owner) { fDateFrom = new GDMDate(this); fDateTo = new GDMDate(this); }