Convert gmx_molblock_t to C++