Public Member Functions | Public Attributes | List of all members
art::FileCatalogMetadata::Config Struct Reference

#include <FileCatalogMetadata.h>

Public Member Functions

bool inMetadataList (std::string const &name) const
 

Public Attributes

fhicl::Atom< boolcheckSyntax {fhicl::Name("checkSyntax"), false}
 
fhicl::OptionalAtom< std::stringapplicationFamily
 
fhicl::OptionalAtom< std::stringapplicationVersion
 
fhicl::OptionalAtom< std::stringgroup {fhicl::Name("group")}
 
fhicl::OptionalAtom< std::stringprocessID {fhicl::Name("processID")}
 
fhicl::Sequence< std::stringmetadataFromInput
 
fhicl::Atom< std::stringfileType
 
fhicl::OptionalAtom< std::stringrunType
 

Detailed Description

Definition at line 26 of file FileCatalogMetadata.h.

Member Function Documentation

bool art::FileCatalogMetadata::Config::inMetadataList ( std::string const &  name) const
inline

Definition at line 44 of file FileCatalogMetadata.h.

45  {
47  }
static QCString name
Definition: declinfo.cpp:673
fhicl::Sequence< std::string > metadataFromInput
bool search_all(FwdCont const &, Datum const &)

Member Data Documentation

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::applicationFamily
Initial value:
{
fhicl::Name("applicationFamily")}

Definition at line 28 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::applicationVersion
Initial value:
{
fhicl::Name("applicationVersion")}

Definition at line 30 of file FileCatalogMetadata.h.

fhicl::Atom<bool> art::FileCatalogMetadata::Config::checkSyntax {fhicl::Name("checkSyntax"), false}

Definition at line 27 of file FileCatalogMetadata.h.

fhicl::Atom<std::string> art::FileCatalogMetadata::Config::fileType
Initial value:
{
fhicl::Name("fileType"),
fhicl::Comment("Can specify 'fileType' only if it is not specified\n"
"in the 'metadataFromInput' list."),
[this] { return !inMetadataList("fileType"); },
"unknown"}

Definition at line 49 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::group {fhicl::Name("group")}

Definition at line 32 of file FileCatalogMetadata.h.

fhicl::Sequence<std::string> art::FileCatalogMetadata::Config::metadataFromInput
Initial value:
{
fhicl::Name("metadataFromInput"),
"This list specifies the metadata that is inherited\n"
"from the input file. Currently only the run type and\n"
"file type metadata can be inherited. The default list is empty."),
std::vector<std::string>{}}

Definition at line 35 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::processID {fhicl::Name("processID")}

Definition at line 33 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::runType
Initial value:
{
fhicl::Name("runType"),
fhicl::Comment("Can specify 'runType' only if it is not specified\n"
"in the 'metadataFromInput' list."),
[this] { return !inMetadataList("runType"); }}

Definition at line 56 of file FileCatalogMetadata.h.


The documentation for this struct was generated from the following file: