Writes a table: rows are buffered and written in chunks (flush() writes them all)
More...
#include <H5Table.h>
|
| | Writer (const std::string &path, bool append) |
| | Create the file, or open it to append to its last block (append)
|
| |
| | Writer (const Writer &)=delete |
| |
| | ~Writer () |
| |
| void | addRow (const std::vector< Field > &fields, const std::vector< Field > &constants) |
| | Add a row with these fields and constants (a new block starts if they changed)
|
| |
| void | flush () |
| | Write the buffered rows and flush the file.
|
| |
| Writer & | operator= (const Writer &)=delete |
| |
| std::vector< unsigned long long > | rows () |
| | Number of rows of every block in the file (after writing the buffered rows)
|
| |
Writes a table: rows are buffered and written in chunks (flush() writes them all)
◆ Writer() [1/2]
| PLMD::h5table::Writer::Writer |
( |
const std::string & | path, |
|
|
bool | append ) |
Create the file, or open it to append to its last block (append)
◆ ~Writer()
| PLMD::h5table::Writer::~Writer |
( |
| ) |
|
|
default |
◆ Writer() [2/2]
| PLMD::h5table::Writer::Writer |
( |
const Writer & | | ) |
|
|
delete |
◆ addRow()
| void PLMD::h5table::Writer::addRow |
( |
const std::vector< Field > & | fields, |
|
|
const std::vector< Field > & | constants ) |
Add a row with these fields and constants (a new block starts if they changed)
◆ flush()
| void PLMD::h5table::Writer::flush |
( |
| ) |
|
Write the buffered rows and flush the file.
◆ operator=()
| Writer & PLMD::h5table::Writer::operator= |
( |
const Writer & | | ) |
|
|
delete |
◆ rows()
| std::vector< unsigned long long > PLMD::h5table::Writer::rows |
( |
| ) |
|
Number of rows of every block in the file (after writing the buffered rows)
◆ impl
| std::unique_ptr<Impl> PLMD::h5table::Writer::impl |
|
private |
The documentation for this class was generated from the following files: