class GEDCOMParser::Association

The class GEDCOMParser::Association implements the GEDCOM 5 5 ASSOCIATION_STRUCTURE structure.

Inheritance:


Public Methods

[more]virtual ~ Association (void)
Destructor
[more]void addIndiXref (std::string const &)
Add a value to XREF:INDI.
[more]void setType (std::string const &)
set the RECORD_TYPE value.
[more]void setRela (std::string const &)
set the RELATION_IS_DESCRIPTOR value.
[more]IndiXrefs_t const& getIndiXrefs (void) const
get the XREF:INDI values
[more]virtual std::string const& getType (void) const
get the RECORD_TYPE value.
[more]virtual std::string const& getRela (void) const
get the RELATION_IS_DESCRIPTOR value.

Public Members

[more] ASSOCIATION_STRUCTURE


Documentation

The class GEDCOMParser::Association implements the GEDCOM 5 5 ASSOCIATION_STRUCTURE structure.

GEDCOM 5.5 definition:

      ASSOCIATION_STRUCTURE: =
      n  ASSO @<XREF:INDI>@  {0:M}
      +1 TYPE <RECORD_TYPE>  {1:1}
      +1 RELA <RELATION_IS_DESCRIPTOR>  {1:1}
      +1 <<NOTE_STRUCTURE>>  {0:M}
      +1 <<SOURCE_CITATION>>  {0:M}
      

ovirtual ~ Association(void)
Destructor

ovoid addIndiXref(std::string const &)
Add a value to XREF:INDI.

See Also:
XREF:INDI

ovoid setType(std::string const &)
set the RECORD_TYPE value.

See Also:
RECORD_TYPE

ovoid setRela(std::string const &)
set the RELATION_IS_DESCRIPTOR value.

See Also:
RELATION_IS_DESCRIPTOR

oIndiXrefs_t const& getIndiXrefs(void) const
get the XREF:INDI values

See Also:
XREF:INDI

ovirtual std::string const& getType(void) const
get the RECORD_TYPE value.

See Also:
RECORD_TYPE

ovirtual std::string const& getRela(void) const
get the RELATION_IS_DESCRIPTOR value.

See Also:
RELATION_IS_DESCRIPTOR

o ASSOCIATION_STRUCTURE
ASSOCIATION_STRUCTURE values

o XREF:INDI
A pointer to, or a cross-reference identifier of, an individual record.

o RECORD_TYPE
[ FAM | INDI | NOTE | OBJE | REPO | SOUR | SUBM | SUBN ] An indicator of the record type being pointed to or used. For example if in an ASSOciation, an INDIvidual record were to be ASSOciated with a FAM record then:
	
      0 INDI
        1 ASSO @F1@
          2 TYPE FAM   (ASSOCIATION is with a FAM record.)
          2 RELA Witness at marriage
      

o RELATION_IS_DESCRIPTOR
A word or phrase that states object 1's relation is object 2. For example you would read the following as "Joe Jacob's great grandson is the submitter pointed to by the @XREF:SUBM@":
        0 INDI
	  1 NAME Joe /Jacob/
	  1 ASSO @<XREF:SUBM>@
	    2 TYPE great grandson
        


This class has no child classes.
See Also:
ASSOCIATION_STRUCTURE

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.