9 #ifndef __stir_MultipleDataSetHeader__H__ 10 #define __stir_MultipleDataSetHeader__H__ 31 class MultipleDataSetHeader :
public KeyParser
35 MultipleDataSetHeader();
38 static const char*
const registered_name;
41 std::size_t get_num_data_sets()
const {
return _num_data_sets; }
45 std::string
get_filename(std::size_t i)
const {
return _filenames.at(i); }
48 template <
class VectorOfStringsT>
49 inline static void write_header(
const std::string& filename,
const VectorOfStringsT& individual_filenames);
53 void read_num_data_sets();
56 virtual void set_defaults();
58 virtual void initialise_keymap();
60 bool post_processing()
override;
63 std::vector<std::string> _filenames;
Declaration of class stir::KeyParser.
string get_filename(const string &filename_with_directory)
return a std::string containing only the filename (i.e. after directory specifications) ...
Definition: utilities.cxx:161