Class Avogadro::Core::NameAtomTyper#

class Avogadro::Core::NameAtomTyper : public AtomTyper<std::string>#

The NameAtomTyper class is a simple implementation of AtomTyper that assigns element names to each atom.

Public Functions

explicit NameAtomTyper(const Molecule *mol = nullptr)#
~NameAtomTyper() override#

Protected Functions

virtual std::string type(const Atom &atom) override#

Determines the type of the atom.


atom – The atom to type.


The type of atom.