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

#include "/cvmfs/"

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::stringfKeys
std::map< std::string, std::stringfPSetMetaMap
std::map< std::string, std::stringfMetaMap
std::map< std::string, std::stringfHighPrioMetaMap

Detailed Description

Definition at line 12 of file MetadataManager.h.

Constructor & Destructor Documentation

meta::MetadataManager::MetadataManager ( )

Referenced by GetKeys().

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

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)

Referenced by GetKeys().

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

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, string, 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 &  )

Referenced by GetKeys().

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

Descends through parameter set constructing fully qualified keys.

Referenced by GetKeys().

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

Referenced by GetKeys().

Member Data Documentation

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

Definition at line 42 of file MetadataManager.h.

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

Definition at line 39 of file MetadataManager.h.

Referenced by GetKeys().

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

Definition at line 41 of file MetadataManager.h.

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

Definition at line 40 of file MetadataManager.h.

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