3.1.49 SetName

virtual bool SetName(const std::string &nam)
virtual bool SetName(const char *nam)

Set the atom name string of an atom. This property is typically used when reading or writing molecular file formats. For example in PDB files, the atom name `` CA '' is used to denote that the atom is a peptide alpha carbon. The default value is the empty string. The ``atom name'' property may be retrieved using the OEAtomBase:GetName method.