Teuchos - Trilinos Tools Package Version of the Day
Teuchos::NumberArrayLengthDependencyXMLConverter< DependeeType, DependentType > Class Template Reference

An xml converter for NumberArrayLengthDependencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::NumberArrayLengthDependencyXMLConverter< DependeeType, DependentType >:
Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType > Teuchos::DependencyXMLConverter Teuchos::Describable Teuchos::LabeledObject

List of all members.

Protected Member Functions

Overridden from ArrayModifierDependency
virtual RCP
< ArrayModifierDependency
< DependeeType, DependentType > > 
getConcreteDependency (RCP< const ParameterEntry > dependee, Dependency::ParameterEntryList dependents, RCP< const SimpleFunctionObject< DependeeType > > function) const
 Obtains a concrete ArrayModifierDependency given a dependee, dependtns, and a funciton object.

Detailed Description

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

An xml converter for NumberArrayLengthDependencies.

The valid XML representation of a NumberArrayLengthDependency is:

    <Dependency 
      type="NumberArrayLengthDependency(dependee_number_type, type_of_array_values)"
    >
      <Dependee parameterId="Id of dependee parameter"/>
      <Dependent parameterId="Id of dependent parameter"/>
      ...Any other dependent parameters...
      ...Optional Function tag...
    </Dependency>

Definition at line 890 of file Teuchos_StandardDependencyXMLConverters.hpp.


Member Function Documentation

template<class DependeeType , class DependentType >
RCP< ArrayModifierDependency< DependeeType, DependentType > > Teuchos::NumberArrayLengthDependencyXMLConverter< DependeeType, DependentType >::getConcreteDependency ( RCP< const ParameterEntry dependee,
Dependency::ParameterEntryList  dependents,
RCP< const SimpleFunctionObject< DependeeType > >  function 
) const [protected, virtual]

Obtains a concrete ArrayModifierDependency given a dependee, dependtns, and a funciton object.

Because ArrayModifierDependency is an abstact class with pure virtual methods we need to be able to get a concrete object to actually return. This is the reponsibility of any classes subclassing this one.

Parameters:
dependeeThe dependee to be used in the construction of the concrete dependency.
dependentsThe dependts to be used in the construction of the concrete dependency.
functionThe function object to be used in the construction of the concrete dependency.
Returns:
A concrete dependency object.which subclasses ArrayModifierDependency.

Implements Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >.

Definition at line 908 of file Teuchos_StandardDependencyXMLConverters.hpp.


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