h5cpp
0.5.1
A modern C++ wrapper for the HDF5 C library
|
#include <fixed_length_string.hpp>
Public Types | |
using | DataType = std::string |
using | BufferType = FixedLengthStringBuffer< char > |
Static Public Member Functions | |
static BufferType | to_buffer (const DataType &data, const datatype::String &memory_type, const dataspace::Dataspace &memory_space) |
create fixed length string buffer from data More... | |
static DataType | from_buffer (const BufferType &buffer, const datatype::String &, const dataspace::Dataspace &) |
store data from buffer in target memory More... | |
using hdf5::FixedLengthStringTrait< std::string >::BufferType = FixedLengthStringBuffer<char> |
using hdf5::FixedLengthStringTrait< std::string >::DataType = std::string |
|
inlinestatic |
buffer | reference to the IO buffer |
|
inlinestatic |
Returns an IO buffer for fixed length strings for data in memory.
data | reference to the original data |
memory_type | HDF5 data type for the data in memory |
memory_space | HDF5 dataspace for the data in memory |