CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
DBoxMetadataHelper Namespace Reference

Classes

class  DBMetaDataTableDisplay
 
class  RecordMetaDataInfo
 

Typedefs

using recordMap = std::map< std::string, RecordMetaDataInfo >
 

Functions

const std::vector< std::string > getAllRecords (const DBoxMetadataHelper::recordMap &recordSet)
 
std::vector< std::string > set_difference (std::vector< std::string > const &v1, std::vector< std::string > const &v2)
 
std::vector< std::string > set_intersection (std::vector< std::string > const &v1, std::vector< std::string > const &v2)
 

Typedef Documentation

using DBoxMetadataHelper::recordMap = typedef std::map<std::string, RecordMetaDataInfo>

Definition at line 47 of file DropBoxMetaDataPayloadInspectorHelper.h.

Function Documentation

const std::vector<std::string> DBoxMetadataHelper::getAllRecords ( const DBoxMetadataHelper::recordMap recordSet)
inline

Definition at line 49 of file DropBoxMetaDataPayloadInspectorHelper.h.

References AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::transform().

Referenced by DBoxMetadataHelper::DBMetaDataTableDisplay::printDiffWithMetadata().

49  {
50  std::vector<std::string> records;
51  std::transform(recordSet.begin(),
52  recordSet.end(),
53  std::inserter(records, records.end()),
54  [](std::pair<std::string, DBoxMetadataHelper::RecordMetaDataInfo> recordSetEntry) -> std::string {
55  return recordSetEntry.first;
56  });
57  return records;
58  }
unsigned transform(const HcalDetId &id, unsigned transformCode)
std::vector<std::string> DBoxMetadataHelper::set_difference ( std::vector< std::string > const &  v1,
std::vector< std::string > const &  v2 
)
inline
std::vector<std::string> DBoxMetadataHelper::set_intersection ( std::vector< std::string > const &  v1,
std::vector< std::string > const &  v2 
)
inline