/** Copyright 2003 Cyril Picard This file is part of the GEDCOMViewer tool (developed within the Genealogy Free Software Tools project). The GEDCOMViewer tool is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GEDCOMViewer tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the GEDCOMViewer tool ; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA **/ #ifndef _ONESPOUSETOFAMILYLINKHANDLER_HH_ #define _ONESPOUSETOFAMILYLINKHANDLER_HH_ #include "OneFamilyLinkHandler.hh" #include #include class OneSpouseToFamilyLinkHandler : public OneFamilyLinkHandler { public: OneSpouseToFamilyLinkHandler(std::string const &union_date, std::string const &union_place, std::string const &husband, std::string const &wife, std::vector < std::string > const &children, OneFamilyLinkHandler::SlotHandler_t * slot_husband, OneFamilyLinkHandler::SlotHandler_t * slot_wife, std::vector< OneFamilyLinkHandler::SlotHandler_t * > slots_children); std::string const &getUnionDate(void) const; std::string const &getUnionPlace(void) const; std::string const &getHusband(void) const; std::string const &getWife(void) const; std::vector < std::string > const &getChildren(void) const; OneFamilyLinkHandler::SlotHandler_t * getSlotHusband(void) const; OneFamilyLinkHandler::SlotHandler_t * getSlotWife(void) const; std::vector< OneFamilyLinkHandler::SlotHandler_t * > const &getSlotsChildren(void) const; private: std::string _union_date; std::string _union_place; std::string _husband; std::string _wife; std::vector < std::string > _children; OneFamilyLinkHandler::SlotHandler_t * _slot_husband; OneFamilyLinkHandler::SlotHandler_t * _slot_wife; std::vector< OneFamilyLinkHandler::SlotHandler_t * > _slots_children; }; #endif