tfel
Loading...
Searching...
No Matches
MFMTestGeneratorFileExport.hxx File Reference
#include <string>
#include "MFMTestGenerator/Config.hxx"

Classes

struct  mfmtg::TestDescription
 structure describing an mfm-test-generator file to be exported More...

Functions

MFMTG_VISIBILITY_EXPORT void mfmtg::loadMFMTestGeneratorFileContent (TestDescription &, const std::string &)
 load the content of an mfm-test-generator file.
MFMTG_VISIBILITY_EXPORT void mfmtg::write (const TestDescription &, const std::string &)
 write an mfm-test-generator test to a file.

Detailed Description

mfm-test-generator/include/MFMTestGenerator/MFMTestGeneratorFileExport.hxx

Author
Thomas Helfer
Date
01/03/2022

Function Documentation

◆ loadMFMTestGeneratorFileContent()

MFMTG_VISIBILITY_EXPORT void mfmtg::loadMFMTestGeneratorFileContent ( TestDescription & ,
const std::string &  )

load the content of an mfm-test-generator file.

Parameters
[out]dmfm-test-generator file description
[in]foutput file path

◆ write()

MFMTG_VISIBILITY_EXPORT void mfmtg::write ( const TestDescription & ,
const std::string &  )

write an mfm-test-generator test to a file.

The file format is deduced from the extension of the file.

Currently, only extensions associated with the madnex file format (https://github.com/thelfer/madnex) are supported if TFEL is compiled with support of this file format. Those extensions are: mdnx, madnex (deprecated) or edf (experimental data file, deprecated). Note that the behaviour member of the metadata must be specified for export in the madnex file format.

Parameters
[in]dmfm-test-generator file description
[in]foutput file path