5#ifndef DETDESCRCOND_DETSTATUSMAP_H
6#define DETDESCRCOND_DETSTATUSMAP_H
12#include "GaudiKernel/DataObject.h"
13#include "GaudiKernel/MsgStream.h"
32 unsigned int size()
const;
39 void add(
const std::string& name,
const DetStatus& status);
50 {
return (
x.first <
y.first); }
52 {
return (
x.first <
y); }
90 ++itr) os << itr->first <<
" : " << itr->second.colour() <<
" (" <<
91 itr->second.deadFrac() <<
"," << itr->second.deadThrust() <<
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool operator()(const DetStatusPair &x, const DetStatusPair &y)
MsgStream & toOutputStream(MsgStream &os) const
StatusMap::const_iterator const_iterator
std::vector< DetStatusPair > StatusMap
std::pair< std::string, DetStatus > DetStatusPair
friend class DetStatusMapCnv_p1
unsigned int size() const
void add(const std::string &name, const DetStatus &status)
const_iterator find(const std::string &name) const
const_iterator end() const
const_iterator begin() const
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.