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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/PersonalName.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:13 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/SourceCitation.hh"  #include "GEDCOMParser/AttachmentManager.hh"
 #include "GEDCOMParser/NoteStructure.hh"  
29  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
30    
31  ///  ///
# Line 45  namespace GEDCOMParser Line 44  namespace GEDCOMParser
44  namespace GEDCOMParser  namespace GEDCOMParser
45  {  {
46    /// @memo Implements the GEDCOM 5.5 PERSONAL_NAME_STRUCTURE structure      /// @memo Implements the GEDCOM 5.5 PERSONAL_NAME_STRUCTURE structure  
47    class PersonalName : public GEDCOMElement  class PersonalName : public GEDCOMElement,
48                         public AttachmentManager
49    {    {
50    protected:    protected:
51      std::string _raw_name;      std::string _raw_name;
# Line 58  namespace GEDCOMParser Line 58  namespace GEDCOMParser
58      std::string _raw_surn;      std::string _raw_surn;
59      std::string _surn;      std::string _surn;
60      std::string _nsfx;      std::string _nsfx;
     SourceCitations_t _citations;  
     NoteStructures_t _notes;  
61    public:    public:
62      virtual ~PersonalName(void)      virtual ~PersonalName(void)
63      {      {
# Line 80  namespace GEDCOMParser Line 78  namespace GEDCOMParser
78      void setSurn  (std::string const &);      void setSurn  (std::string const &);
79      ///      ///
80      void setNsfx  (std::string const &);      void setNsfx  (std::string const &);
     ///  
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
81      //@}      //@}
82            
83      ///@name Accessors (get)      ///@name Accessors (get)
# Line 108  namespace GEDCOMParser Line 102  namespace GEDCOMParser
102      virtual std::string const &getRawSurn(void) const;      virtual std::string const &getRawSurn(void) const;
103      ///      ///
104      virtual std::string const &getNsfx(void) const;      virtual std::string const &getNsfx(void) const;
     ///  
     SourceCitations_t const &getSourceCitations(void) const;  
     ///  
     NoteStructures_t const &getNoteStructures(void) const;  
105      //@}      //@}
106      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
107    };    };

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