#include <Fireworks/Core/interface/FWItemValueGetter.h>
Classes | |
struct | Entry |
Public Member Functions | |
FWItemValueGetter (const edm::TypeWithDict &, const std::string &iPurpose) | |
std::vector< std::string > | getTitles () const |
const std::string & | getToolTip (const void *iObject) const |
int | numValues () const |
UInt_t | precision (int idx) const |
double | valueFor (const void *, int idx) const |
Private Types | |
typedef std::vector< Entry > | Entries_t |
Private Member Functions | |
bool | addEntry (std::string iExpression, int iPrec=2, std::string iTitle="", std::string iUnit="") |
Private Attributes | |
Entries_t::const_iterator | Entries_i |
Entries_t | m_entries |
int | m_titleWidth |
edm::TypeWithDict | m_type |
Description: Retrieves a particular value from an item
Usage: <usage>
Definition at line 32 of file FWItemValueGetter.h.
|
private |
Definition at line 56 of file FWItemValueGetter.h.
FWItemValueGetter::FWItemValueGetter | ( | const edm::TypeWithDict & | iType, |
const std::string & | iPurpose | ||
) |
Definition at line 34 of file FWItemValueGetter.cc.
References addEntry(), edm::TypeWithDict::name(), and x.
|
private |
Definition at line 98 of file FWItemValueGetter.cc.
References MillePedeFileConverter_cfg::e, m_entries, m_titleWidth, m_type, METSkim_cff::Max, fireworks::expression::oldToNewFormat(), parse(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by FWItemValueGetter().
std::vector< std::string > FWItemValueGetter::getTitles | ( | ) | const |
Definition at line 134 of file FWItemValueGetter.cc.
References mps_fire::i, m_entries, and SiStripCondTypes::titles.
Referenced by FWCollectionSummaryTableManager::getTitles().
const std::string & FWItemValueGetter::getToolTip | ( | const void * | iObject | ) | const |
Definition at line 147 of file FWItemValueGetter.cc.
References MillePedeFileConverter_cfg::e, compareTotals::fs, mps_fire::i, m_entries, m_titleWidth, m_type, EcalTangentSkim_cfg::o, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWEventItem::modelInterestingValueAsString().
int FWItemValueGetter::numValues | ( | ) | const |
Definition at line 144 of file FWItemValueGetter.cc.
References m_entries.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), and FWCollectionSummaryTableManager::numberOfColumns().
UInt_t FWItemValueGetter::precision | ( | int | idx | ) | const |
Definition at line 132 of file FWItemValueGetter.cc.
References heavyIonCSV_trainingSettings::idx, and m_entries.
Referenced by FWCollectionSummaryTableManager::cellRenderer().
double FWItemValueGetter::valueFor | ( | const void * | iObject, |
int | idx | ||
) | const |
Definition at line 126 of file FWItemValueGetter.cc.
References heavyIonCSV_trainingSettings::idx, m_entries, m_type, and EcalTangentSkim_cfg::o.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), and FWViewContextMenuHandlerGL::select().
|
private |
Definition at line 57 of file FWItemValueGetter.h.
|
private |
Definition at line 59 of file FWItemValueGetter.h.
Referenced by addEntry(), getTitles(), getToolTip(), numValues(), precision(), and valueFor().
|
private |
Definition at line 62 of file FWItemValueGetter.h.
Referenced by addEntry(), and getToolTip().
|
private |
Definition at line 60 of file FWItemValueGetter.h.
Referenced by addEntry(), getToolTip(), and valueFor().