3.1.55 SetType

virtual bool SetType(const std::string &typ)
virtual bool SetType(const char *typ)

Set the ``atom type name'' string property of an atom. This value is typically used when reading and writing molecular formats. For example, in Sybyl mol2 file, the atom type name ``N.pl3'' means that the atom should be treated as a three-valent planar nitrogen. The default value is the empty string. The atom type name property may be retrieved using the OEAtomBase::GetType method.