Public Member Functions | |
WatchFlag (const std::string &name="", const ParameterList ¶ms=*defaultParams()) | |
const std::string & | name () const |
void | activate () |
void | deactivate () |
bool | isActive () const |
bool | operator< (const WatchFlag &other) const |
XMLObject | toXML () const |
int | param (const std::string &name) const |
void | setParam (const std::string &name, int val) |
Static Public Member Functions | |
static RCP< ParameterList > | defaultParams () |
Static Private Member Functions | |
static Map< std::string, bool > & | isActiveMap () |
Private Attributes | |
std::string | name_ |
RCP< ParameterList > | params_ |
Definition at line 72 of file SundanceWatchFlag.hpp.
WatchFlag::WatchFlag | ( | const std::string & | name = "" , |
|
const ParameterList & | params = *defaultParams() | |||
) |
void WatchFlag::activate | ( | ) |
void WatchFlag::deactivate | ( | ) |
RCP< ParameterList > WatchFlag::defaultParams | ( | ) | [static] |
Definition at line 81 of file SundanceWatchFlag.cpp.
bool WatchFlag::isActive | ( | ) | const |
Definition at line 55 of file SundanceWatchFlag.cpp.
References isActiveMap(), and name().
Referenced by Sundance::FunctionSupportResolver::FunctionSupportResolver(), Sundance::SumOfIntegrals::hasWatchedTerm(), and Sundance::EquationSet::init().
static Map<std::string, bool>& Sundance::WatchFlag::isActiveMap | ( | ) | [inline, static, private] |
Definition at line 113 of file SundanceWatchFlag.hpp.
Referenced by activate(), deactivate(), isActive(), and WatchFlag().
const std::string& Sundance::WatchFlag::name | ( | ) | const [inline] |
Definition at line 80 of file SundanceWatchFlag.hpp.
References name_.
Referenced by activate(), deactivate(), isActive(), operator<(), Sundance::RegionQuadCombo::toString(), and toXML().
bool Sundance::WatchFlag::operator< | ( | const WatchFlag & | other | ) | const [inline] |
int WatchFlag::param | ( | const std::string & | name | ) | const |
Definition at line 67 of file SundanceWatchFlag.cpp.
References params_.
Referenced by Sundance::SumOfIntegrals::eqnSetSetupVerb(), Sundance::FunctionSupportResolver::FunctionSupportResolver(), and Sundance::EquationSet::init().
void WatchFlag::setParam | ( | const std::string & | name, | |
int | val | |||
) |
XMLObject WatchFlag::toXML | ( | ) | const |
Definition at line 60 of file SundanceWatchFlag.cpp.
References name().
Referenced by Sundance::SumOfIntegrals::toXML(), and Sundance::SumOfBCs::toXML().
std::string Sundance::WatchFlag::name_ [private] |
RCP<ParameterList> Sundance::WatchFlag::params_ [private] |