|
NuriKit v0.1.0b2
|
#include <nuri/fmt/base.h>
Public Member Functions | |
| template<class... Args> | |
| MoleculeReaderWrapper (std::string_view fmt, Args &&...args) | |
| std::vector< std::string > | next () |
| Advance the stream to the next molecule. | |
| bool | getnext (std::vector< std::string > &block) |
| Advance the reader to the next molecule. | |
| Molecule | parse (const std::vector< std::string > &block) const |
| Parse the current block and return the molecule. | |
| MoleculeStream< Reader > | stream () |
| operator bool () const | |
|
inline |
|
inline |
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. |
|
inline |
Advance the stream to the next molecule.
|
inline |
|
inline |
Parse the current block and return the molecule.
| block | The block to parse. |
|
inline |