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


Public Member Functions | |
| DefaultReaderImpl ()=default | |
| DefaultReaderImpl (std::istream &is) | |
| 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. | |
| virtual ABSL_MUST_USE_RESULT bool | getnext (std::vector< std::string > &block)=0 |
| Advance the reader to the next molecule. | |
| virtual bool | bond_valid () const =0 |
| Test whether the reader implementation can provide valid bond information. | |
| MoleculeStream< MoleculeReader > | stream () |
| Convert the reader to a stream object. | |
Protected Attributes | |
| std::istream * | is_ |
|
default |
|
inline |
|
inlinefinalvirtual |
Parse the current block and return the molecule.
| block | The block to parse. |
Implements nuri::MoleculeReader.
|
protected |