CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
DropBoxMetadata::Parameters Class Reference

#include <DropBoxMetadata.h>

Public Member Functions

void addParameter (const std::string &key, const std::string &vale)
 
std::string getParameter (const std::string &key) const
 
const std::map< std::string, std::string > & getParameterMap () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::map< std::string, std::string > theParameters
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 25 of file DropBoxMetadata.h.

Member Function Documentation

◆ addParameter()

void DropBoxMetadata::Parameters::addParameter ( const std::string &  key,
const std::string &  vale 
)

◆ getParameter()

string DropBoxMetadata::Parameters::getParameter ( const std::string &  key) const

Definition at line 21 of file DropBoxMetadata.cc.

21  {
22  string ret;
23  map<string, string>::const_iterator thePair = theParameters.find(key);
24  if (thePair != theParameters.end()) {
25  ret = (*thePair).second;
26  }
27  return ret;
28 }

References crabWrapper::key, and runTheMatrix::ret.

Referenced by Mixins._Parameterizable::hasParameter().

◆ getParameterMap()

const map< string, string > & DropBoxMetadata::Parameters::getParameterMap ( ) const

Definition at line 30 of file DropBoxMetadata.cc.

30 { return theParameters; }

◆ serialize()

template<class Archive >
void DropBoxMetadata::Parameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 36 of file DropBoxMetadata.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 36 of file DropBoxMetadata.h.

Member Data Documentation

◆ theParameters

std::map<std::string, std::string> DropBoxMetadata::Parameters::theParameters
private

Definition at line 34 of file DropBoxMetadata.h.

Referenced by addParameter().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:543
DropBoxMetadata::Parameters::theParameters
std::map< std::string, std::string > theParameters
Definition: DropBoxMetadata.h:34
relativeConstraints.value
value
Definition: relativeConstraints.py:53
crabWrapper.key
key
Definition: crabWrapper.py:19