/[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.2 by cpcp, Mon Sep 23 13:36:56 2002 UTC revision 1.3 by cpcp, Tue Nov 12 21:25:21 2002 UTC
# Line 46  namespace GEDCOMParser Line 46  namespace GEDCOMParser
46    class PersonalName    class PersonalName
47    {    {
48    protected:    protected:
49        std::string _raw_name;
50      std::string _name;      std::string _name;
51      std::string _npfx;      std::string _npfx;
52        std::string _raw_givn;
53      std::string _givn;      std::string _givn;
54      std::string _nick;      std::string _nick;
55      std::string _spfx;      std::string _spfx;
56        std::string _raw_surn;
57      std::string _surn;      std::string _surn;
58      std::string _nsfx;      std::string _nsfx;
59      SourceCitations_t _citations;      SourceCitations_t _citations;
# Line 61  namespace GEDCOMParser Line 64  namespace GEDCOMParser
64      };      };
65      ///@name Accessors (set)      ///@name Accessors (set)
66      //@{          //@{    
67      ///      /// setName runs the parsing of Given name and Surname ;
68      void setName  (std::string const &);      void setName  (std::string const &);
69      ///      ///
70      void setNpfx  (std::string const &);      void setNpfx  (std::string const &);
71      ///      /// set the given name (for instance from a GEDCOM file)
72      void setGivn  (std::string const &);      void setGivn  (std::string const &);
73      ///      ///
74      void setNick  (std::string const &);      void setNick  (std::string const &);
75      ///      ///
76      void setSpfx  (std::string const &);      void setSpfx  (std::string const &);
77      ///      /// set the surname (for instance from a GEDCOM file)
78      void setSurn  (std::string const &);      void setSurn  (std::string const &);
79      ///      ///
80      void setNsfx  (std::string const &);      void setNsfx  (std::string const &);
# Line 83  namespace GEDCOMParser Line 86  namespace GEDCOMParser
86            
87      ///@name Accessors (get)      ///@name Accessors (get)
88      //@{          //@{    
89      ///      /// Returns the Name as Givenname Surname
90      virtual std::string const &getName(void) const;      virtual std::string const &getName(void) const;
91        /// Returns the Name set by setName
92        virtual std::string const &getRawName(void) const;
93      ///      ///
94      virtual std::string const &getNpfx(void) const;      virtual std::string const &getNpfx(void) const;
95      ///      /// Returns the Given name parsed by setName
96      virtual std::string const &getGivn(void) const;      virtual std::string const &getGivn(void) const;
97        /// Returns the Given name set by setGivn
98        virtual std::string const &getRawGivn(void) const;
99      ///      ///
100      virtual std::string const &getNick(void) const;      virtual std::string const &getNick(void) const;
101      ///      ///
102      virtual std::string const &getSpfx(void) const;      virtual std::string const &getSpfx(void) const;
103      ///      /// Returns the Surname parsed by setName
104      virtual std::string const &getSurn(void) const;      virtual std::string const &getSurn(void) const;
105        /// Returns the Surname set by setSurn
106        virtual std::string const &getRawSurn(void) const;
107      ///      ///
108      virtual std::string const &getNsfx(void) const;      virtual std::string const &getNsfx(void) const;
109      ///      ///

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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