Previous Les includes du programme |
Parent Le main.cpp |
Outline | Next La fonction de HDF5 aux images PNG |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
///Create the OptionParser of this program /** @return OptionParser of this program */ OptionParser createOptionParser(){ OptionParser parser(true, __PROGRAM_VERSION__); parser.setExampleLongOption("gray_scott2pic --input=file.h5 --output=/output/dir/name"); parser.setExampleShortOption("gray_scott2pic -i file.h5 -o /output/dir/name"); parser.addOption("input", "i", OptionType::FILENAME, true, "input hdf5 file name"); std::string defaultOutputDir("./"); parser.addOption("output", "o", defaultOutputDir, "Output directory of the created images"); return parser; } |
Previous Les includes du programme |
Parent Le main.cpp |
Outline | Next La fonction de HDF5 aux images PNG |