|
NuriKit v0.1.0b2
|
#include <nuri/fmt/smiles.h>


Public Member Functions | |
| bool | getnext (std::vector< std::string > &block) override |
| Advance the reader to the next molecule. | |
| bool | bond_valid () const override |
| Test whether the reader implementation can provide valid bond information. | |
| Public Member Functions inherited from nuri::DefaultReaderImpl< read_smiles > | |
| DefaultReaderImpl ()=default | |
| Molecule | parse (const std::vector< std::string > &block) const final |
| Parse the current block and return the molecule. | |
| Public Member Functions inherited from nuri::MoleculeReader | |
| MoleculeReader ()=default | |
| MoleculeReader (const MoleculeReader &)=delete | |
| MoleculeReader & | operator= (const MoleculeReader &)=delete |
| MoleculeReader (MoleculeReader &&) noexcept=default | |
| MoleculeReader & | operator= (MoleculeReader &&) noexcept=default |
| virtual | ~MoleculeReader () noexcept=default |
| std::vector< std::string > | next () |
| Advance the reader to the next molecule. | |
| MoleculeStream< MoleculeReader > | stream () |
| Convert the reader to a stream object. | |
Additional Inherited Members | |
| Protected Attributes inherited from nuri::DefaultReaderImpl< read_smiles > | |
| std::istream * | is_ |
|
inlineoverridevirtual |
Test whether the reader implementation can provide valid bond information.
Implements nuri::MoleculeReader.
|
overridevirtual |
Advance the reader to the next molecule.
| block | The block containing the next molecule. If true is returned, pre-existing contents of the block are discarded. Otherwise, the block is in a valid but unspecified state. |
Implements nuri::MoleculeReader.