Teuchos - Trilinos Tools Package Version of the Day
Protected Member Functions
Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType > Class Template Reference

A converter used to convert ArrayModifierDepdencies to and from xml. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

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

List of all members.

Public Member Functions

Overridden from DependencyXMLConverter
RCP< DependencyconvertXML (const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const
 
void convertDependency (const RCP< const Dependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const
 

Protected Member Functions

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

Detailed Description

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

A converter used to convert ArrayModifierDepdencies to and from xml.

Definition at line 780 of file Teuchos_StandardDependencyXMLConverters.hpp.


Member Function Documentation

template<class DependeeType , class DependentType >
RCP< Dependency > Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >::convertXML ( const XMLObject xmlObj,
const Dependency::ConstParameterEntryList  dependees,
const Dependency::ParameterEntryList  dependets,
const XMLParameterListReader::EntryIDsMap entryIDsMap,
const IDtoValidatorMap validatorIDsMap 
) const [virtual]
template<class DependeeType , class DependentType >
void Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >::convertDependency ( const RCP< const Dependency dependency,
XMLObject xmlObj,
const XMLParameterListWriter::EntryIDsMap entryIDsMap,
ValidatortoIDMap validatorIDsMap 
) const [virtual]
template<class DependeeType , class DependentType >
virtual RCP<ArrayModifierDependency<DependeeType, DependentType> > Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >::getConcreteDependency ( RCP< const ParameterEntry dependee,
Dependency::ParameterEntryList  dependents,
RCP< const SimpleFunctionObject< DependeeType > >  function 
) const [protected, pure 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.

Implemented in Teuchos::NumberArrayLengthDependencyXMLConverter< DependeeType, DependentType >, Teuchos::TwoDRowDependencyXMLConverter< DependeeType, DependentType >, and Teuchos::TwoDColDependencyXMLConverter< DependeeType, DependentType >.


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