|
NuriKit v0.1.0b2
|
#include <nuri/core/molecule.h>
Public Member Functions | |
| MoleculeSanitizer (Molecule &molecule) | |
| Construct a new MoleculeSanitizer object. | |
| MoleculeSanitizer (MoleculeSanitizer &&) noexcept=default | |
| ~MoleculeSanitizer () noexcept=default | |
| MoleculeSanitizer ()=delete | |
| MoleculeSanitizer (const MoleculeSanitizer &)=delete | |
| MoleculeSanitizer & | operator= (const MoleculeSanitizer &)=delete |
| MoleculeSanitizer & | operator= (MoleculeSanitizer &&) noexcept=delete |
| ABSL_MUST_USE_RESULT bool | sanitize_conjugated () |
| Sanitize conjugated bonds. | |
| ABSL_MUST_USE_RESULT bool | sanitize_aromaticity () |
| Sanitize aromaticity. | |
| ABSL_MUST_USE_RESULT bool | sanitize_hybridization () |
| Sanitize hybridization. | |
| ABSL_MUST_USE_RESULT bool | sanitize_valence () |
| Sanitize valences. | |
| ABSL_MUST_USE_RESULT bool | sanitize_all () |
| Sanitize all. | |
| Molecule & | mol () noexcept |
| const Molecule & | mol () const noexcept |
|
explicit |
Construct a new MoleculeSanitizer object.
| molecule | The molecule to sanitize. |
|
defaultnoexcept |
|
defaultnoexcept |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
deletenoexcept |
|
inline |
Sanitize all.
This is a shortcut for calling all of the above methods in the following order:
The method will return on the first failure.
| ABSL_MUST_USE_RESULT bool nuri::MoleculeSanitizer::sanitize_aromaticity | ( | ) |
Sanitize aromaticity.
| ABSL_MUST_USE_RESULT bool nuri::MoleculeSanitizer::sanitize_conjugated | ( | ) |
Sanitize conjugated bonds.
| ABSL_MUST_USE_RESULT bool nuri::MoleculeSanitizer::sanitize_hybridization | ( | ) |
Sanitize hybridization.
| ABSL_MUST_USE_RESULT bool nuri::MoleculeSanitizer::sanitize_valence | ( | ) |
Sanitize valences.