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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/PersonalName.cpp

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

revision 1.1.2.3 by cpcp, Wed Oct 16 17:56:19 2002 UTC revision 1.1.2.4 by cpcp, Sat Oct 19 10:06:23 2002 UTC
# Line 25  Line 25 
25    
26  void GEDCOMParser::PersonalName::setName(std::string const & value)  void GEDCOMParser::PersonalName::setName(std::string const & value)
27  {  {
28    _name = value;    _raw_name = value;
29    personalname_runparse(value);    personalname_runparse(value);
30    _givn = get_given_name();    _givn = get_given_name();
31    _surn = get_surname();    _surn = get_surname();
32      _name = _givn + _surn;
33    return;    return;
34  }  }
35    
# Line 91  GEDCOMParser::NoteStructures_t const & G Line 92  GEDCOMParser::NoteStructures_t const & G
92    return _notes;    return _notes;
93  }  }
94    
95  std::string const GEDCOMParser::PersonalName::getName(void) const  std::string const &GEDCOMParser::PersonalName::getName(void) const
96  {  {
97    return _givn +  _surn;    return _name;
98  }  }
99    
100  std::string const & GEDCOMParser::PersonalName::getRawName(void) const  std::string const & GEDCOMParser::PersonalName::getRawName(void) const
101  {  {
102    return _name;    return _raw_name;
103  }  }
104    
105  std::string const & GEDCOMParser::PersonalName::getNpfx(void) const  std::string const & GEDCOMParser::PersonalName::getNpfx(void) const

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

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