OEIsEmptyΒΆ

template<class T>
unsigned int OEIsEmpty(OEIterBase<T> *iterbase)

Returns whether the iterator is empty and consumes the iterator.

bool has_hydrogens = !OEIsEmpty<OEAtomBase>(mol.GetAtoms(OEIsHydrogen()));