3.1.28 IsCarbon

virtual bool IsCarbon() const

Determine whether an atom is a carbon atom. This method tests whether the atom's atomic number is 6, and is equivalent to OEAtomBase::GetAtomicNum() == OEElemNo::C.