/[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.2 by cpcp, Wed Oct 16 17:33:11 2002 UTC revision 1.1.2.3 by cpcp, Wed Oct 16 17:56:19 2002 UTC
# Line 22  Line 22 
22  #include "PersonalName.hh"  #include "PersonalName.hh"
23  #include "GEDCOMParser/personalnameparser_decl.hh"  #include "GEDCOMParser/personalnameparser_decl.hh"
24  #include "GEDCOMParser/personalnameparser.h"  #include "GEDCOMParser/personalnameparser.h"
 #include <iostream>  
25    
26  void GEDCOMParser::PersonalName::setName(std::string const & value)  void GEDCOMParser::PersonalName::setName(std::string const & value)
27  {  {
# Line 30  void GEDCOMParser::PersonalName::setName Line 29  void GEDCOMParser::PersonalName::setName
29    personalname_runparse(value);    personalname_runparse(value);
30    _givn = get_given_name();    _givn = get_given_name();
31    _surn = get_surname();    _surn = get_surname();
   std::cerr << "GIVEN NAME : " << getGivn() << std::endl;  
   std::cerr << "SURNAME : " << getSurn() << std::endl;  
32    return;    return;
33  }  }
34    
# Line 94  GEDCOMParser::NoteStructures_t const & G Line 91  GEDCOMParser::NoteStructures_t const & G
91    return _notes;    return _notes;
92  }  }
93    
94    std::string const GEDCOMParser::PersonalName::getName(void) const
95    {
96      return _givn +  _surn;
97    }
98    
99    std::string const & GEDCOMParser::PersonalName::getRawName(void) const
 std::string const & GEDCOMParser::PersonalName::getName(void) const  
100  {  {
101    return _name;    return _name;
102  }  }

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

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