Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Teuchos::TwoDColDependency< DependeeType, DependentType > Class Template Reference

A dependency in which the number of rows in a parameter with a TwoDArray depends on the value of another parameter. More...

#include <Teuchos_StandardDependencies.hpp>

Inheritance diagram for Teuchos::TwoDColDependency< DependeeType, DependentType >:
Inheritance graph
[legend]

List of all members.

Constructors/Destructor

 TwoDColDependency (RCP< const ParameterEntry > dependee, RCP< ParameterEntry > dependent, RCP< const SimpleFunctionObject< DependeeType > > func=null)
 Constructs a TwoDColDependency.
 TwoDColDependency (RCP< const ParameterEntry > dependee, Dependency::ParameterEntryList dependents, RCP< const SimpleFunctionObject< DependeeType > > func=null)
 Constructs a TwoDColDependency.

Overridden from Dependency

std::string getTypeAttributeValue () const
 

Overridden from ArrayModifierDependency

void modifyArray (DependeeType newAmount, RCP< ParameterEntry > dependentToModify)
 
std::string getBadDependentValueErrorMessage () const
 

Detailed Description

template<class DependeeType, class DependentType>
class Teuchos::TwoDColDependency< DependeeType, DependentType >

A dependency in which the number of rows in a parameter with a TwoDArray depends on the value of another parameter.

Please see TwoDColDependencyXMLConverter for documentation regarding the XML representation of this Dependency.

Definition at line 2085 of file Teuchos_StandardDependencies.hpp.


Constructor & Destructor Documentation

template<class DependeeType , class DependentType >
Teuchos::TwoDColDependency< DependeeType, DependentType >::TwoDColDependency ( RCP< const ParameterEntry dependee,
RCP< ParameterEntry dependent,
RCP< const SimpleFunctionObject< DependeeType > >  func = null 
)

Constructs a TwoDColDependency.

Parameters:
dependeeThe dependee parameter.
dependentThe dependent parameter.
funcA function specifying how the TwoDArrays number of cols should be calculated from the dependees value.

Definition at line 2147 of file Teuchos_StandardDependencies.hpp.

template<class DependeeType , class DependentType >
Teuchos::TwoDColDependency< DependeeType, DependentType >::TwoDColDependency ( RCP< const ParameterEntry dependee,
Dependency::ParameterEntryList  dependents,
RCP< const SimpleFunctionObject< DependeeType > >  func = null 
)

Constructs a TwoDColDependency.

Parameters:
dependeeThe dependee parameter.
dependentsThe dependents.
funcA function specifying how the TwoDArrays number of cols should be calculated from the dependees value.

Definition at line 2158 of file Teuchos_StandardDependencies.hpp.


Member Function Documentation

template<class DependeeType , class DependentType >
std::string Teuchos::TwoDColDependency< DependeeType, DependentType >::getTypeAttributeValue ( ) const [virtual]

Implements Teuchos::Dependency.

Definition at line 2171 of file Teuchos_StandardDependencies.hpp.

template<class DependeeType , class DependentType >
void Teuchos::TwoDColDependency< DependeeType, DependentType >::modifyArray ( DependeeType  newAmount,
RCP< ParameterEntry dependentToModify 
) [protected, virtual]
template<class DependeeType , class DependentType >
std::string Teuchos::TwoDColDependency< DependeeType, DependentType >::getBadDependentValueErrorMessage ( ) const [protected, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines