#include <FileCatalogMetadata.h>
Classes | |
struct | Config |
class | InheritedMetadata |
Public Types | |
using | collection_type = std::vector< std::pair< std::string, std::string >> |
using | value_type = 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 noexcept |
Private Attributes | |
std::recursive_mutex | mutex_ {} |
bool const | checkSyntax_ |
std::vector< std::string > const | mdToInherit_ |
collection_type | md_ {} |
std::unique_ptr< InheritedMetadata > | imd_ {} |
Definition at line 21 of file FileCatalogMetadata.h.
using art::FileCatalogMetadata::collection_type = std::vector<std::pair<std::string, std::string>> |
Definition at line 23 of file FileCatalogMetadata.h.
Definition at line 63 of file FileCatalogMetadata.h.
using art::FileCatalogMetadata::value_type = collection_type::value_type |
Definition at line 24 of file FileCatalogMetadata.h.
|
explicit |
Definition at line 35 of file FileCatalogMetadata.cc.
void art::FileCatalogMetadata::addMetadata | ( | std::string const & | key, |
std::string const & | value | ||
) |
Definition at line 78 of file FileCatalogMetadata.cc.
void art::FileCatalogMetadata::addMetadataString | ( | std::string const & | key, |
std::string const & | value | ||
) |
Definition at line 72 of file FileCatalogMetadata.cc.
void art::FileCatalogMetadata::getMetadata | ( | collection_type & | coll | ) | const |
Definition at line 117 of file FileCatalogMetadata.cc.
void art::FileCatalogMetadata::setMetadataFromInput | ( | collection_type const & | coll | ) |
Definition at line 99 of file FileCatalogMetadata.cc.
|
noexcept |
Definition at line 66 of file FileCatalogMetadata.cc.
|
private |
Definition at line 136 of file FileCatalogMetadata.h.
|
private |
Definition at line 146 of file FileCatalogMetadata.h.
|
private |
Definition at line 143 of file FileCatalogMetadata.h.
|
private |
Definition at line 140 of file FileCatalogMetadata.h.
|
mutableprivate |
Definition at line 132 of file FileCatalogMetadata.h.