5.27.2 operator()

bool operator() (const OEAtomBase &atom) const

Returns true if the atom is in the residue specified as the construction argument. This is the same as the value returned by OESameResidue(res,OEAtomGetResidue(&atom)), where res is the functor's contruction argument.