#ifndef _GEDCOMPARSER_PREDICATES_ISMALE_HH_ #define _GEDCOMPARSER_PREDICATES_ISMALE_HH_ #include "GEDCOMParser/IndividualRecord.hh" #include namespace GEDCOMParser { class IsMale : public std::unary_function { bool operator()(GEDCOMParser::IndividualRecords_elem_t individu) const { bool res = false; res = (individu.second->getSex() == "M"); return res; }; }; }; #endif