custom data reader in paraview


I am using am using paraview to read data from OpenFOAM.
However, I would like to create a c++ program for educational purposed based on the OpenFOAM data structure and would like to create a custom data reader based my data. Is this possible? Where can I find the definitions used by paraview to read OpenFOAM data?

Best Regards

This is usally done via a C++ or Python plugin, however OpenFOAM is a very complex format, you can find the reader her: