#include <Fireworks/Core/interface/FWItemValueGetter.h>
Public Member Functions | |
FWItemValueGetter (const ROOT::Reflex::Type &, const std::vector< std::pair< std::string, std::string > > &iFindValueFrom) | |
bool | isValid () const |
void | setValueAndUnit (const std::string &iValue, const std::string &iUnit) |
const std::string & | stringValueFor (const void *) const |
const std::string & | unit () const |
double | valueFor (const void *) const |
std::string | valueName () const |
Private Attributes | |
ROOT::Reflex::Member | m_memberFunction |
ROOT::Reflex::Type | m_type |
std::string | m_unit |
Description: Retrieves a particular value from an item
Usage: <usage>
Definition at line 31 of file FWItemValueGetter.h.
FWItemValueGetter::FWItemValueGetter | ( | const ROOT::Reflex::Type & | iType, |
const std::vector< std::pair< std::string, std::string > > & | iFindValueFrom | ||
) |
Definition at line 139 of file FWItemValueGetter.cc.
References m_memberFunction, m_unit, recursiveFindMember(), and cond::rpcobtemp::temp.
bool FWItemValueGetter::isValid | ( | void | ) | const |
Definition at line 209 of file FWItemValueGetter.cc.
References m_memberFunction.
Referenced by FWEventItem::haveInterestingValue().
void FWItemValueGetter::setValueAndUnit | ( | const std::string & | iValue, |
const std::string & | iUnit | ||
) |
const std::string & FWItemValueGetter::stringValueFor | ( | const void * | iObject | ) | const |
Definition at line 199 of file FWItemValueGetter.cc.
References m_memberFunction, m_type, m_unit, VarParsing::obj, stringValueFor(), and cond::rpcobtemp::temp.
Referenced by FWEventItem::modelInterestingValueAsString().
const std::string & FWItemValueGetter::unit | ( | ) | const |
double FWItemValueGetter::valueFor | ( | const void * | iObject | ) | const |
Definition at line 190 of file FWItemValueGetter.cc.
References doubleValueFor(), m_memberFunction, m_type, VarParsing::obj, and cond::rpcobtemp::temp.
Referenced by FWEventItem::modelInterestingValue(), and FWViewContextMenuHandlerGL::select().
std::string FWItemValueGetter::valueName | ( | ) | const |
Definition at line 215 of file FWItemValueGetter.cc.
References m_memberFunction.
|
private |
Definition at line 58 of file FWItemValueGetter.h.
Referenced by FWItemValueGetter(), isValid(), stringValueFor(), valueFor(), and valueName().
|
private |
Definition at line 57 of file FWItemValueGetter.h.
Referenced by stringValueFor(), and valueFor().
|
private |
Definition at line 59 of file FWItemValueGetter.h.
Referenced by FWItemValueGetter(), stringValueFor(), and unit().