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 22 of file DropBoxMetadata.cc.

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

Referenced by Mixins._Parameterizable::hasParameter().

22  {
23  string ret;
24  map<string, string>::const_iterator thePair = theParameters.find(key);
25  if (thePair != theParameters.end()) {
26  ret = (*thePair).second;
27  }
28  return ret;
29 }
ret
prodAgent to be discontinued
std::map< std::string, std::string > theParameters
key
prepare the HTCondor submission files and eventually submit them

◆ getParameterMap()

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

Definition at line 31 of file DropBoxMetadata.cc.

31 { return theParameters; }
std::map< std::string, std::string > 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().