/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/LdsIndividualOrdinance.hh
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/LdsIndividualOrdinance.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.6 by cpcp, Sun Nov 16 15:22:12 2003 UTC
# Line 25  Line 25 
25  #include <vector>  #include <vector>
26  #include <string>  #include <string>
27  #include "patterns/SmartPtr.hh"  #include "patterns/SmartPtr.hh"
28  #include "GEDCOMParser/NoteStructure.hh"  #include "GEDCOMParser/AttachmentManager.hh"
 #include "GEDCOMParser/SourceCitation.hh"  
29  #include "GEDCOMParser/DateManagement/DateValue.hh"  #include "GEDCOMParser/DateManagement/DateValue.hh"
30  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
31    
# Line 35  namespace GEDCOMParser Line 34  namespace GEDCOMParser
34  {  {
35    class GEDCOMVisitor;    class GEDCOMVisitor;
36    /// @memo Implements the GEDCOM 5.5 LDS_INDIVIDUAL_ORDINANCE structure      /// @memo Implements the GEDCOM 5.5 LDS_INDIVIDUAL_ORDINANCE structure  
37    class LdsIndividualOrdinance : public GEDCOMElement    class LdsIndividualOrdinance : public GEDCOMElement,
38                                     public AttachmentManager
39    {    {
40    public:    public:
41      /// typedef'd to enumLdsIndividualOrdinance      /// typedef'd to enumLdsIndividualOrdinance
# Line 59  namespace GEDCOMParser Line 59  namespace GEDCOMParser
59        _date (0),        _date (0),
60        _temple_code (),        _temple_code (),
61        _place (),        _place (),
62        _famc_xref (),        _famc_xref ()
       _citations (),  
       _notes ()  
63      {      {
64      };      };
65      LdsIndividualOrdinance (LdsIndividualOrdinance const &l):      LdsIndividualOrdinance (LdsIndividualOrdinance const &l):
# Line 70  namespace GEDCOMParser Line 68  namespace GEDCOMParser
68        _date (0),        _date (0),
69        _temple_code (l._temple_code),        _temple_code (l._temple_code),
70        _place (l._place),        _place (l._place),
71        _famc_xref (l._famc_xref),        _famc_xref (l._famc_xref)
       _citations (l._citations),  
       _notes (l._notes)  
72      {      {
73        if (l._date != 0)        if (l._date != 0)
74          {          {
# Line 98  namespace GEDCOMParser Line 94  namespace GEDCOMParser
94      void setPlace  (std::string const &);      void setPlace  (std::string const &);
95      ///      ///
96      void setFamcXref  (std::string const &);      void setFamcXref  (std::string const &);
     ///  
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
     ///  
97      //@}      //@}
98            
99      ///@name Accessors (get)      ///@name Accessors (get)
# Line 121  namespace GEDCOMParser Line 112  namespace GEDCOMParser
112      virtual std::string const &getPlace(void) const;      virtual std::string const &getPlace(void) const;
113      ///      ///
114      virtual std::string const &getFamcXref(void) const;      virtual std::string const &getFamcXref(void) const;
     ///  
     SourceCitations_t const &getSourceCitations(void) const;  
     ///  
     NoteStructures_t const &getNoteStructures(void) const;  
     ///  
115      //@}      //@}
116      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
117    protected:    protected:
# Line 135  namespace GEDCOMParser Line 121  namespace GEDCOMParser
121      std::string _temple_code;      std::string _temple_code;
122      std::string _place;      std::string _place;
123      std::string _famc_xref;      std::string _famc_xref;
     SourceCitations_t _citations;  
     NoteStructures_t _notes;  
124    };    };
125    ///@name typedefs    ///@name typedefs
126    //@{    //@{

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26