Loading...
Searching...
No Matches
H5Table.h File Reference
#include <memory>
#include <string>
#include <vector>

Classes

struct  PLMD::h5table::Field
 A field: name and value. More...
 
class  PLMD::h5table::Reader
 Reads a table as the lines of the equivalent text file. More...
 
struct  PLMD::h5table::Value
 A value of a field. More...
 
class  PLMD::h5table::Writer
 Writes a table: rows are buffered and written in chunks (flush() writes them all) More...
 

Namespaces

namespace  PLMD
 Fast (possibly busy-wait-based) barrier type.
 
namespace  PLMD::h5table
 (not "h5": libraries such as ITensor use a global namespace h5)
 

Functions

bool PLMD::h5table::available ()
 Tables of fields (the files written with OFile::printField) stored in HDF5 files.
 
bool PLMD::h5table::isH5 (const std::string &path)
 True if the file is an HDF5 table (by its extension, .h5)
 
std::vector< unsigned long long > PLMD::h5table::rows (const std::string &path)
 Number of rows of every block of a table.
 
void PLMD::h5table::truncate (const std::string &path, const std::vector< unsigned long long > &keep, const std::string &backup)
 Keep the first keep[b] rows of block b (the blocks beyond keep.size() are removed).