Giter VIP home page Giter VIP logo

hdf5-cpp-wrapper's Introduction

HDF5 C++ Wrapper

This is a simple, thin, single-header c++ wrapper library around HDF5. It is published under the MIT license in the hope that it might be useful for somebody.

All components of this library reside in the h5cpp namespace. There are classes File, Group, Dataset, Dataspace and Datatype, corresponding to HDF5 objects. Drawing inspiration from h5py, there is also an Attributes class. Resources are managed via the references counting mechanism of the HDF5 library. C++ types can be mapped to HDF5 data types automatically with the help of template specializations. Mappings for primitive c-types are predefined. The byte order of data on disk defaults to little endianness.

Documentation can be found here http://dawelter.github.io/hdfcppwrapper/index.html

Note:

  • The API might change a little in future, but the library is stable enough for actual use in the author's personal projects.
  • The wrapping is incomplete, but you can always use get_id() to obtain the HDF5 identifier.
  • The library is not thread safe due to the caching of Datatype instances in local static variables. Also no consideration of MPI compatiblity was done.
  • No documentation, but a little demo program used for testing, too.

Tested under:

  • MS VC 2010 Win64
  • MS VC 2013 Win64
  • GCC 4.8.4 Unbuntu 14 x86 64 bit.

hdf5-cpp-wrapper's People

Contributors

damichel avatar dawelter avatar

Watchers

 avatar  avatar

Forkers

newbthenewbd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.