|
AvogadroLibs 1.101.0
|
The NameAtomTyper class is a simple implementation of AtomTyper that assigns element names to each atom.
#include <avogadro/core/nameatomtyper.h>
Public Member Functions | |
| NameAtomTyper (const Molecule *mol=nullptr) | |
| Public Member Functions inherited from AtomTyper< std::string > | |
| AtomTyper (const Molecule *mol=nullptr) | |
| void | setMolecule (const Molecule *mol) |
| virtual void | run () |
| virtual std::string | atomType (const Atom &atom) |
| Array< std::string > | types () const |
| virtual void | reset () |
Protected Member Functions | |
| std::string | type (const Atom &atom) override |
| Protected Member Functions inherited from AtomTyper< std::string > | |
| virtual void | initialize () |
Additional Inherited Members | |
| Public Types inherited from AtomTyper< std::string > | |
| using | ValueType |
| Protected Attributes inherited from AtomTyper< std::string > | |
| const Molecule * | m_molecule |
| Array< std::string > | m_types |
|
overrideprotectedvirtual |
Determines the type of the atom.
| atom | The atom to type. |
Implements AtomTyper< std::string >.