#ifndef _GEDCOMPARSER_PREDICATES_FAMILYISUSED_HH_ #define _GEDCOMPARSER_PREDICATES_FAMILYISUSED_HH_ #include "GEDCOMParser/LineageLinkageGedcom.hh" #include "GEDCOMParser/FamilyRecord.hh" #include namespace GEDCOMParser { namespace Predicates { class FamilyIsUsed : public std::binary_function { public: bool operator()(GEDCOMParser::LineageLinkageGedcom const * const lineage, GEDCOMParser::FamilyRecords_elem_t family) const { bool res = lineage->FamilyIsUsed(family.second.getPtr()); return res; }; }; }; }; #endif