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

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

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

revision 1.3 by cpcp, Sun Jan 26 21:15:21 2003 UTC revision 1.4 by cpcp, Sun Nov 16 15:22:12 2003 UTC
# Line 34  void GEDCOMParser::IndividualAttribute:: Line 34  void GEDCOMParser::IndividualAttribute::
34    return;    return;
35  }  }
36    
 void GEDCOMParser::IndividualAttribute::setEvent(GEDCOMParser::Event * e)  
 {  
   if (_event.Null())  
     {  
       _event = SmartPtr<GEDCOMParser::Event>(e);  
     }  
   _event->copyLastUpdatedAttr(*e);  
   return;  
 }  
   
37  GEDCOMParser::IndividualAttribute::enumIndividualAttributes GEDCOMParser::IndividualAttribute::getType(void) const  GEDCOMParser::IndividualAttribute::enumIndividualAttributes GEDCOMParser::IndividualAttribute::getType(void) const
38  {  {
39    return _type;    return _type;
40  }  }
41    
 SmartPtr<GEDCOMParser::Event> const &GEDCOMParser::IndividualAttribute::getEvent(void) const  
 {  
   return _event;  
 }  
   
42  std::string const &GEDCOMParser::IndividualAttribute::getValue(void) const  std::string const &GEDCOMParser::IndividualAttribute::getValue(void) const
43  {  {
44    return _value;    return _value;

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

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