LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "FileCatalogMetadata.h"
Classes | |
struct | Config |
class | InheritedMetadata |
Public Types | |
using | collection_type = std::vector< std::pair< std::string, std::string >> |
using | value_type = typename collection_type::value_type |
using | Parameters = ServiceTable< Config > |
Public Member Functions | |
FileCatalogMetadata (Parameters const &config) | |
void | addMetadata (std::string const &key, std::string const &value) |
void | addMetadataString (std::string const &key, std::string const &value) |
void | getMetadata (collection_type &coll) const |
void | setMetadataFromInput (collection_type const &coll) |
bool | wantCheckSyntax () const |
Static Private Member Functions | |
static std::mutex & | service_mutex () |
Private Attributes | |
bool const | checkSyntax_ |
collection_type | md_ {} |
std::unique_ptr< InheritedMetadata > | imd_ {} |
std::vector< std::string > | mdToInherit_ |
Definition at line 39 of file FileCatalogMetadata.h.
using art::FileCatalogMetadata::collection_type = std::vector<std::pair<std::string, std::string>> |
Definition at line 41 of file FileCatalogMetadata.h.
Definition at line 81 of file FileCatalogMetadata.h.
using art::FileCatalogMetadata::value_type = typename collection_type::value_type |
Definition at line 42 of file FileCatalogMetadata.h.
|
explicit |
Definition at line 25 of file FileCatalogMetadata_service.cc.
References addMetadataString(), IGNORE_FALLTHROUGH_END::maybeTranslate(), mdToInherit_, and IGNORE_FALLTHROUGH_END::search_translated_all().
void art::FileCatalogMetadata::addMetadata | ( | std::string const & | key, |
std::string const & | value | ||
) |
Definition at line 64 of file FileCatalogMetadata_service.cc.
References checkSyntax_, d, art::errors::DataCorruption, DEFINE_ART_SERVICE, md_, service_mutex(), and fhicl::detail::atom::value().
Referenced by addMetadataString(), and util::FileCatalogMetadataExtras::postBeginJob().
|
inline |
Definition at line 165 of file FileCatalogMetadata.h.
References addMetadata().
Referenced by FileCatalogMetadata(), and setMetadataFromInput().
|
inline |
Definition at line 194 of file FileCatalogMetadata.h.
References DECLARE_ART_SERVICE, art::LEGACY, md_, and service_mutex().
Referenced by util::FileCatalogMetadataExtras::postBeginJob().
|
inlinestaticprivate |
Definition at line 157 of file FileCatalogMetadata.h.
Referenced by addMetadata(), and getMetadata().
|
inline |
Definition at line 173 of file FileCatalogMetadata.h.
References addMetadataString(), imd_, and mdToInherit_.
|
inline |
|
private |
Definition at line 103 of file FileCatalogMetadata.h.
Referenced by addMetadata(), and wantCheckSyntax().
|
private |
Definition at line 150 of file FileCatalogMetadata.h.
Referenced by setMetadataFromInput().
|
private |
Definition at line 104 of file FileCatalogMetadata.h.
Referenced by addMetadata(), and getMetadata().
|
private |
Definition at line 151 of file FileCatalogMetadata.h.
Referenced by FileCatalogMetadata(), and setMetadataFromInput().