SafeFileNameConfig.h
Go to the documentation of this file.
1 #ifndef art_Framework_IO_detail_SafeFileNameConfig_h
2 #define art_Framework_IO_detail_SafeFileNameConfig_h
3 
4 #include "fhiclcpp/types/Atom.h"
5 
6 namespace art::detail {
9  fhicl::Name("checkFileName"),
11  "If file-switching has been enabled, the output filename pattern\n"
12  "must have a '%#' format specifier by default. This ensures that\n"
13  "an output file will never be overwritten for a given job "
14  "execution.\n\n"
15  "For some workflows, this restriction is unnecessary if the user "
16  "can\n"
17  "guarantee that the specified filename pattern will create distinct\n"
18  "output files.\n\n"
19  "If 'checkFileName' is set to 'false', then the '%#' is not required\n"
20  "even if file-switching has been enabled. In this processing mode,\n"
21  "it is the user's responsibility to supply a filename pattern that\n"
22  "will not result in output-file overwriting.\n\n"
23  "Do NOT set this to 'false' unless you know what you are doing!"),
24  true};
25  };
26 }
27 
28 #endif /* art_Framework_IO_detail_SafeFileNameConfig_h */
29 
30 // Local Variables:
31 // mode: c++
32 // End:
ChannelGroupService::Name Name
#define Comment