|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
A condition visual dependency says the following about the relationship between elements in a Parameter List: Depending on whether or not the dependee(s) statisfy a particual condition, the dependent may or may not be displayed to the user in a UI. More...
#include <Teuchos_StandardDependencies.hpp>

Constructors/Destructor | |
| ConditionVisualDependency (RCP< const Condition > condition, RCP< ParameterEntry > dependent, bool showIf=true) | |
| ConditionVisualDependency (RCP< const Condition > condition, Dependency::ParameterEntryList dependents, bool showIf=true) | |
Getter Functions | |
| RCP< const Condition > | getCondition () const |
| Gets the condition being used in this dependency. | |
Overridden from VisualDependency | |
| bool | getDependeeState () const |
| | |
Overridden from Dependency | |
| std::string | getTypeAttributeValue () const |
| | |
| void | validateDep () const |
| | |
Private Members | |
| RCP< const Condition > | condition_ |
| The Condition to determine whether or not the dependent is displayed. | |
A condition visual dependency says the following about the relationship between elements in a Parameter List: Depending on whether or not the dependee(s) statisfy a particual condition, the dependent may or may not be displayed to the user in a UI.
Condition Visual Dependencies are unique in that via the Condition class, they allow for multiple dependees. The dependee(s) of a ConditionVisualDependency must be expressed as a Condition and are subject to the consquential constraints. The dependent may be any type of parameter or parameter list.
Please see ConditionVisualDependencyXMLConverter for documentation regarding the XML representation of this Dependency.
Definition at line 529 of file Teuchos_StandardDependencies.hpp.
| Teuchos::ConditionVisualDependency::ConditionVisualDependency | ( | RCP< const Condition > | condition, |
| RCP< ParameterEntry > | dependent, | ||
| bool | showIf = true |
||
| ) |
Constructs a ConditionVisualDependency.
| condition | The condition that must be satisfied in order to display the dependent parameter. |
| dependent | The dependent parameter. |
| showIf | When true, the depndent will be be shown if the condition is true. If false, the dependent will be shown only when the condition is false. |
Definition at line 240 of file Teuchos_StandardDependencies.cpp.
| Teuchos::ConditionVisualDependency::ConditionVisualDependency | ( | RCP< const Condition > | condition, |
| Dependency::ParameterEntryList | dependents, | ||
| bool | showIf = true |
||
| ) |
Constructs a ConditionVisualDependency.
| condition | The condition that must be satisfied in order to display the dependent parameter. |
| dependents | The dependent parameters. |
| showIf | When true, the depndent will be be shown if the condition is true. If false, the dependent will be shown only when the condition is false. |
Definition at line 250 of file Teuchos_StandardDependencies.cpp.
| RCP< const Condition > Teuchos::ConditionVisualDependency::getCondition | ( | ) | const |
Gets the condition being used in this dependency.
Definition at line 260 of file Teuchos_StandardDependencies.cpp.
| bool Teuchos::ConditionVisualDependency::getDependeeState | ( | ) | const [virtual] |
Implements Teuchos::VisualDependency.
Definition at line 264 of file Teuchos_StandardDependencies.cpp.
| std::string Teuchos::ConditionVisualDependency::getTypeAttributeValue | ( | ) | const [virtual] |
Implements Teuchos::Dependency.
Definition at line 268 of file Teuchos_StandardDependencies.cpp.
| void Teuchos::ConditionVisualDependency::validateDep | ( | ) | const [inline, protected, virtual] |
Implements Teuchos::Dependency.
Definition at line 597 of file Teuchos_StandardDependencies.hpp.
RCP<const Condition> Teuchos::ConditionVisualDependency::condition_ [private] |
The Condition to determine whether or not the dependent is displayed.
Definition at line 610 of file Teuchos_StandardDependencies.hpp.
1.7.6.1