1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
<?php
namespace Gedcomx\Rt;
use Gedcomx\Agent\Agent;
use Gedcomx\Common\EvidenceReference;
use Gedcomx\Common\Note;
use Gedcomx\Conclusion\DateInfo;
use Gedcomx\Conclusion\Document;
use Gedcomx\Conclusion\Event;
use Gedcomx\Conclusion\EventRole;
use Gedcomx\Conclusion\Fact;
use Gedcomx\Conclusion\Gender;
use Gedcomx\Conclusion\Name;
use Gedcomx\Conclusion\NameForm;
use Gedcomx\Conclusion\NamePart;
use Gedcomx\Conclusion\Person;
use Gedcomx\Conclusion\PlaceDescription;
use Gedcomx\Conclusion\PlaceReference;
use Gedcomx\Conclusion\Relationship;
use Gedcomx\Gedcomx;
use Gedcomx\Records\Collection;
use Gedcomx\Records\Field;
use Gedcomx\Records\FieldValue;
use Gedcomx\Records\RecordDescriptor;
use Gedcomx\Source\SourceCitation;
use Gedcomx\Source\SourceDescription;
use Gedcomx\Source\SourceReference;
/**
* Visitor interface for the GEDCOM X model.
*/
interface GedcomxModelVisitor
{
/**
* Visits the Gedcomx entity.
*
* @param \Gedcomx\Gedcomx $gx
*
* @return mixed
*/
function visitGedcomx(Gedcomx $gx);
/**
* Visits the document.
*
* @param \Gedcomx\Conclusion\Document $document
*
* @return mixed
*/
function visitDocument(Document $document);
/**
* Visits the place description.
*
* @param \Gedcomx\Conclusion\PlaceDescription $place
*
* @return mixed
*/
function visitPlaceDescription(PlaceDescription $place);
/**
* Visits the event.
*
* @param \Gedcomx\Conclusion\Event $event
*
* @return mixed
*/
function visitEvent(Event $event);
/**
* Visits the event role.
*
* @param \Gedcomx\Conclusion\EventRole $role
*
* @return mixed
*/
function visitEventRole(EventRole $role);
/**
* Visits the agent.
*
* @param \Gedcomx\Agent\Agent $agent
*
* @return mixed
*/
function visitAgent(Agent $agent);
/**
* Visits the source description.
*
* @param \Gedcomx\Source\SourceDescription $sourceDescription
*
* @return mixed
*/
function visitSourceDescription(SourceDescription $sourceDescription);
/**
* Visits the source citation.
*
* @param \Gedcomx\Source\SourceCitation $citation
*
* @return mixed
*/
function visitSourceCitation(SourceCitation $citation);
/**
* Visits the collection.
*
* @param \Gedcomx\Records\Collection $collection
*
* @return mixed
*/
function visitCollection(Collection $collection);
/**
* Visits the record descriptor.
*
* @param \Gedcomx\Records\RecordDescriptor $recordDescriptor
*
* @return mixed
*/
function visitRecordDescriptor(RecordDescriptor $recordDescriptor);
/**
* Visits the field.
*
* @param \Gedcomx\Records\Field $field
*
* @return mixed
*/
function visitField(Field $field);
/**
* Visits the field value.
* @param \Gedcomx\Records\FieldValue $fieldValue
*
* @return mixed
*/
function visitFieldValue(FieldValue $fieldValue);
/**
* Visits the relationship.
*
* @param \Gedcomx\Conclusion\Relationship $relationship
*
* @return mixed
*/
function visitRelationship(Relationship $relationship);
/**
* Visits the person.
*
* @param \Gedcomx\Conclusion\Person $person
*
* @return mixed
*/
function visitPerson(Person $person);
/**
* Visits the fact.
*
* @param \Gedcomx\Conclusion\Fact $fact
*
* @return mixed
*/
function visitFact(Fact $fact);
/**
* Visits the place reference.
*
* @param \Gedcomx\Conclusion\PlaceReference $place
*
* @return mixed
*/
function visitPlaceReference(PlaceReference $place);
/**
* Visits the date.
*
* @param \Gedcomx\Conclusion\DateInfo $date
*
* @return mixed
*/
function visitDate(DateInfo $date);
/**
* Visits the name.
*
* @param \Gedcomx\Conclusion\Name $name
*
* @return mixed
*/
function visitName(Name $name);
/**
* Visits the name form.
*
* @param \Gedcomx\Conclusion\NameForm $form
*
* @return mixed
*/
function visitNameForm(NameForm $form);
/**
* Visits the name part.
*
* @param \Gedcomx\Conclusion\NamePart $part
*
* @return mixed
*/
function visitNamePart(NamePart $part);
/**
* Visits the gender.
*
* @param \Gedcomx\Conclusion\Gender $gender
*
* @return mixed
*/
function visitGender(Gender $gender);
/**
* Visits the source reference.
*
* @param \Gedcomx\Source\SourceReference $sourceReference
*
* @return mixed
*/
function visitSourceReference(SourceReference $sourceReference);
/**
* Visits the note.
*
* @param \Gedcomx\Common\Note $note
*
* @return mixed
*/
function visitNote(Note $note);
/**
* Visits the evidence reference.
*
* @param \Gedcomx\Common\EvidenceReference $evidenceReference
*
* @return mixed
*/
function visitEvidenceReference(EvidenceReference $evidenceReference);
}