|
Teuchos - Trilinos Tools Package
Version of the Day
|
An abstract parent class for all visual dependencies. More...
#include <Teuchos_StandardDependencies.hpp>
Public Member Functions | |
Constructors/Destructor | |
| VisualDependency (RCP< const ParameterEntry > dependee, RCP< ParameterEntry > dependent, bool showIf=getShowIfDefaultValue()) | |
| Constructs a VisualDependency. | |
| VisualDependency (RCP< const ParameterEntry > dependee, ParameterEntryList dependents, bool showIf=getShowIfDefaultValue()) | |
| Constructs a VisualDependency. | |
| VisualDependency (ConstParameterEntryList dependees, RCP< ParameterEntry > dependent, bool showIf=getShowIfDefaultValue()) | |
| Constructs a VisualDependency. | |
| VisualDependency (ConstParameterEntryList dependees, ParameterEntryList dependents, bool showIf=getShowIfDefaultValue()) | |
| Constructs a VisualDependency. | |
Attribute/Query Methods | |
| virtual bool | getDependeeState () const =0 |
| Get the state of the dependee in order to evaluate the dependency. | |
| bool | isDependentVisible () const |
| Determines whether or not the dependent is currently visible. | |
| bool | getShowIf () const |
| Get's the value of the showIf variable. | |
Overridden from Dependency | |
| void | evaluate () |
| | |
Static Public Member Functions | |
Public Constant Accessors | |
| static const bool & | getShowIfDefaultValue () |
An abstract parent class for all visual dependencies.
IMPORTANT NOTE: If a parameter becomes hidden, it's validity will not necessarily be checked. This means that it is indeed possible for a non-valid ParameterList to occur. Make sure that you program code takes this into account.
Definition at line 72 of file Teuchos_StandardDependencies.hpp.
| Teuchos::VisualDependency::VisualDependency | ( | RCP< const ParameterEntry > | dependee, |
| RCP< ParameterEntry > | dependent, | ||
| bool | showIf = getShowIfDefaultValue() |
||
| ) |
Constructs a VisualDependency.
| dependee | The dependee parameter. |
| dependent | The dependent parameter. |
| showIf | When true, the depndent will be be shown if the dependee is true. |
Definition at line 54 of file Teuchos_StandardDependencies.cpp.
| Teuchos::VisualDependency::VisualDependency | ( | RCP< const ParameterEntry > | dependee, |
| ParameterEntryList | dependents, | ||
| bool | showIf = getShowIfDefaultValue() |
||
| ) |
Constructs a VisualDependency.
| dependee | The dependee parameter. |
| dependents | The dependent parameters. |
| showIf | When true, the depndent will be be shown if the dependee is true. |
Definition at line 63 of file Teuchos_StandardDependencies.cpp.
| Teuchos::VisualDependency::VisualDependency | ( | ConstParameterEntryList | dependees, |
| RCP< ParameterEntry > | dependent, | ||
| bool | showIf = getShowIfDefaultValue() |
||
| ) |
Constructs a VisualDependency.
| dependees | The dependees. |
| dependent | The dependent parameter. |
| showIf | When true, the depndent will be be shown if the dependee is true. |
Definition at line 72 of file Teuchos_StandardDependencies.cpp.
| Teuchos::VisualDependency::VisualDependency | ( | ConstParameterEntryList | dependees, |
| ParameterEntryList | dependents, | ||
| bool | showIf = getShowIfDefaultValue() |
||
| ) |
Constructs a VisualDependency.
| dependees | The dependees. |
| dependents | The dependets. |
| showIf | When true, the depndent will be be shown if the dependee is true. |
Definition at line 81 of file Teuchos_StandardDependencies.cpp.
| virtual bool Teuchos::VisualDependency::getDependeeState | ( | ) | const [pure virtual] |
Get the state of the dependee in order to evaluate the dependency.
Implemented in Teuchos::NumberVisualDependency< T >, Teuchos::ConditionVisualDependency, Teuchos::BoolVisualDependency, and Teuchos::StringVisualDependency.
| bool Teuchos::VisualDependency::isDependentVisible | ( | ) | const |
Determines whether or not the dependent is currently visible.
Definition at line 90 of file Teuchos_StandardDependencies.cpp.
| bool Teuchos::VisualDependency::getShowIf | ( | ) | const |
Get's the value of the showIf variable.
Definition at line 94 of file Teuchos_StandardDependencies.cpp.
| void Teuchos::VisualDependency::evaluate | ( | ) | [virtual] |
Implements Teuchos::Dependency.
Definition at line 98 of file Teuchos_StandardDependencies.cpp.
1.7.6.1