#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 33 of file FWItemValueGetter.h.
|
private |
Definition at line 59 of file FWItemValueGetter.h.
FWItemValueGetter::FWItemValueGetter | ( | const edm::TypeWithDict & | iType, |
const std::string & | iPurpose | ||
) |
Definition at line 36 of file FWItemValueGetter.cc.
References addEntry(), edm::TypeWithDict::name(), and x.
|
private |
Definition at line 104 of file FWItemValueGetter.cc.
References MillePedeFileConverter_cfg::e, m_entries, m_titleWidth, m_type, Max(), fireworks::expression::oldToNewFormat(), dumpparser::parse(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by FWItemValueGetter::Entry::Entry(), and FWItemValueGetter().
std::vector< std::string > FWItemValueGetter::getTitles | ( | ) | const |
Definition at line 154 of file FWItemValueGetter.cc.
References mps_fire::i, and m_entries.
Referenced by FWCollectionSummaryTableManager::getTitles().
const std::string & FWItemValueGetter::getToolTip | ( | const void * | iObject | ) | const |
Definition at line 173 of file FWItemValueGetter.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, m_entries, FWItemValueGetter::Entry::m_expr, FWItemValueGetter::Entry::m_precision, FWItemValueGetter::Entry::m_title, m_titleWidth, m_type, connectstrParser::o, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWEventItem::modelInterestingValueAsString().
int FWItemValueGetter::numValues | ( | ) | const |
Definition at line 166 of file FWItemValueGetter.cc.
References m_entries, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), and FWCollectionSummaryTableManager::numberOfColumns().
UInt_t FWItemValueGetter::precision | ( | int | idx | ) | const |
Definition at line 148 of file FWItemValueGetter.cc.
References training_settings::idx, and m_entries.
Referenced by FWCollectionSummaryTableManager::cellRenderer().
double FWItemValueGetter::valueFor | ( | const void * | iObject, |
int | idx | ||
) | const |
Definition at line 140 of file FWItemValueGetter.cc.
References training_settings::idx, m_entries, m_type, and connectstrParser::o.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), FWViewContextMenuHandlerGL::select(), and FWCollectionSummaryTableManager::~FWCollectionSummaryTableManager().
|
private |
Definition at line 60 of file FWItemValueGetter.h.
|
private |
Definition at line 62 of file FWItemValueGetter.h.
Referenced by addEntry(), getTitles(), getToolTip(), numValues(), precision(), and valueFor().
|
private |
Definition at line 65 of file FWItemValueGetter.h.
Referenced by addEntry(), and getToolTip().
|
private |
Definition at line 63 of file FWItemValueGetter.h.
Referenced by addEntry(), getToolTip(), and valueFor().