Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
meta::MetadataManager Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-09-23/Metadata/MetadataManager.h"

Public Member Functions

void AddMetadata (std::string key, std::string value)
 
void AddMetadataHighPrio (std::string key, std::string value)
 
void DoParsing (fhicl::ParameterSet const &pset)
 
std::vector< std::string > & GetKeys ()
 Determines if a key came from the parameter set or was inherited. More...
 
std::map< std::string, std::string > & GetMetadata ()
 

Static Public Member Functions

static MetadataManagergetInstance ()
 

Private Member Functions

 MetadataManager ()
 
 MetadataManager (MetadataManager const &)
 
void operator= (MetadataManager const &)
 
void ParsePSet (std::string key, fhicl::ParameterSet const &pset)
 Descends through parameter set constructing fully qualified keys. More...
 
std::string CleanWhiteSpace (std::string str)
 
std::string ToLower (std::string str)
 

Private Attributes

std::vector< std::string > fKeys
 
std::map< std::string, std::string > fPSetMetaMap
 
std::map< std::string, std::string > fMetaMap
 
std::map< std::string, std::string > fHighPrioMetaMap
 

Detailed Description

Definition at line 12 of file MetadataManager.h.

Constructor & Destructor Documentation

meta::MetadataManager::MetadataManager ( )
private

Referenced by GetKeys().

meta::MetadataManager::MetadataManager ( MetadataManager const &  )
private

Member Function Documentation

void meta::MetadataManager::AddMetadata ( std::string  key,
std::string  value 
)
void meta::MetadataManager::AddMetadataHighPrio ( std::string  key,
std::string  value 
)
std::string meta::MetadataManager::CleanWhiteSpace ( std::string  str)
private

Referenced by GetKeys().

void meta::MetadataManager::DoParsing ( fhicl::ParameterSet const &  pset)
static MetadataManager& meta::MetadataManager::getInstance ( )
inlinestatic
std::vector<std::string>& meta::MetadataManager::GetKeys ( )
inline

Determines if a key came from the parameter set or was inherited.

Definition at line 25 of file MetadataManager.h.

References CleanWhiteSpace(), fKeys, GetMetadata(), MetadataManager(), operator=(), ParsePSet(), submit_syst::str, and ToLower().

25 { return fKeys; }
std::vector< std::string > fKeys
std::map< std::string, std::string >& meta::MetadataManager::GetMetadata ( )
void meta::MetadataManager::operator= ( MetadataManager const &  )
private

Referenced by GetKeys().

void meta::MetadataManager::ParsePSet ( std::string  key,
fhicl::ParameterSet const &  pset 
)
private

Descends through parameter set constructing fully qualified keys.

Referenced by GetKeys().

std::string meta::MetadataManager::ToLower ( std::string  str)
private

Referenced by GetKeys().

Member Data Documentation

std::map< std::string, std::string > meta::MetadataManager::fHighPrioMetaMap
private

Definition at line 42 of file MetadataManager.h.

std::vector<std::string> meta::MetadataManager::fKeys
private

Definition at line 39 of file MetadataManager.h.

Referenced by GetKeys().

std::map< std::string, std::string > meta::MetadataManager::fMetaMap
private

Definition at line 41 of file MetadataManager.h.

std::map< std::string, std::string > meta::MetadataManager::fPSetMetaMap
private

Definition at line 40 of file MetadataManager.h.


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