LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
7
struct
SafeFileNameConfig
{
8
fhicl::Atom<bool>
checkFileName
{
9
fhicl::Name
(
"checkFileName"
),
10
fhicl::Comment
(
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:
art::detail::SafeFileNameConfig
Definition:
SafeFileNameConfig.h:7
art::detail
Definition:
AllowedConfiguration.h:76
art::detail::SafeFileNameConfig::checkFileName
fhicl::Atom< bool > checkFileName
Definition:
SafeFileNameConfig.h:8
fhicl::Atom< bool >
Atom.h
fhicl::Comment
Definition:
Comment.h:33
fhicl::Name
Definition:
Name.h:10
art
Framework
IO
detail
SafeFileNameConfig.h
Generated on Thu May 2 2024 20:59:29 for LArSoft by
1.8.11