How ihedvall/mdflib works
Project type and purpose
• This is a monorepo for a C++‐based Measurement Data File (MDF) library (mdflib) plus multiple front-ends and language bindings.
• Core functionality: read/write MDF v3 & v4 files.
• Applications and bindings:
• C++ static library (mdflib)
• C++ shared library & .NET/C++-CLI assembly (mdflibrary)
• C# unit‐tests against the .NET assembly
• Python wrapper (pybind11)
• CLI converter (mdf2csv)
• GUI viewer application (mdfviewer)
• Unit tests (C++ GoogleTest)
• (Future) gRPC microservice
File structure
• Top-level directories correspond to “containers” in your architecture:
• mdflib → Core C++ static library & its CMake build
• mdflib_test → Core C++ GoogleTest suite
• mdflibrary → C++/CLI shared .NET wrapper
• mdflibrary_example → Example C++ app using the shared library
• mdflibrary_test_net → C# tests using the .NET assembly
• python → Python wrapper & tests
• mdf2csv → CLI converter application
• mdfviewer → GUI application (wxWidgets)
• docs, doxygen → Documentation site generation
• ci, .github → CI pipelines (Linux/Windows Docker builds)
• Build scripts and vcpkg.json show third-party dependencies (Zlib, Expat, Boost, wxWidgets, gtest, Doxygen).
README for additional insights
• Confirms components and build requirements.
• Emphasizes cross-platform (Windows/Linux) support, CMake usage, and external libs.