Revision 5f6623a9e0dfc5c7ed37718bb6e1c1f66e0f2e82 authored by Dmitri Naumov on 08 June 2021, 18:57:27 UTC, committed by Dmitri Naumov on 09 June 2021, 11:55:47 UTC
1 parent 19e3e0b
HdfData.h
/**
* \file
* \author Tobias Meisel
* \date 2020-12-08
* \brief Collects and holds all metadata for writing HDF5 file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#pragma once
#include <string>
#include <vector>
#include "MeshPropertyDataType.h"
namespace MeshLib::IO
{
using Hdf5DimType = unsigned long long;
struct HdfData
{
HdfData(void const* data_start, std::size_t size_partitioned_dim,
std::size_t size_tuple, std::string const& name,
MeshPropertyDataType mesh_property_data_type);
void const* data_start;
std::vector<Hdf5DimType> data_space;
std::vector<Hdf5DimType> offsets;
std::vector<Hdf5DimType> file_space;
std::vector<Hdf5DimType> chunk_space;
std::string const name;
int64_t data_type;
};
} // namespace MeshLib::IO
Computing file changes ...