RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::MolStandardize::DisallowedRadicalValidation Class Reference

#include <Validate.h>

Inheritance diagram for RDKit::MolStandardize::DisallowedRadicalValidation:
RDKit::MolStandardize::ValidationMethod

Public Member Functions

std::vector< ValidationErrorInfovalidate (const ROMol &mol, bool reportAllFailures) const override
 
std::shared_ptr< ValidationMethodcopy () const override
 
- Public Member Functions inherited from RDKit::MolStandardize::ValidationMethod
 ValidationMethod ()=default
 
virtual ~ValidationMethod ()=default
 

Detailed Description

The DisallowedRadicalValidation class reports an error if any unstable radical atoms are found. The allowed radicals are [N]=O and [O]-N.

Definition at line 212 of file Validate.h.

Member Function Documentation

◆ copy()

std::shared_ptr< ValidationMethod > RDKit::MolStandardize::DisallowedRadicalValidation::copy ( ) const
inlineoverridevirtual

Implements RDKit::MolStandardize::ValidationMethod.

Definition at line 218 of file Validate.h.

◆ validate()

std::vector< ValidationErrorInfo > RDKit::MolStandardize::DisallowedRadicalValidation::validate ( const ROMol mol,
bool  reportAllFailures 
) const
overridevirtual

The documentation for this class was generated from the following file: