Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Protected Member Functions | List of all members
Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType > Class Template Referenceabstract

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 >

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
 
- Public Member Functions inherited from Teuchos::DependencyXMLConverter
RCP< DependencyfromXMLtoDependency (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const
 Converts a given XMLObject to a Dependency. More...
 
XMLObject fromDependencytoXML (const RCP< const Dependency > dependency, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const
 Converters a given ParameterEntryValidator to XML. More...
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 Return a simple one-line description of this object. More...
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Print the object with some verbosity level to a FancyOStream. More...
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Version of describe() that takes an std::ostream instead of a FancyOStream. More...
 
virtual ~Describable ()
 Destructor (marked virtual for memory safety of derived classes). More...
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 Construct with an empty label. More...
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 Set the object label (see LabeledObject). More...
 
virtual std::string getObjectLabel () const
 Get the object label (see LabeledObject). More...
 

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. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Teuchos::DependencyXMLConverter
static const std::string & getDependeeTagName ()
 Returns the string to be used for the dependee tag. More...
 
static const std::string & getDependentTagName ()
 Returns the string to be used for the dependent tag. More...
 
static const std::string & getParameterIdAttributeName ()
 Returns the string to be used for the ParameterID attribute. More...
 
static const std::string & getTypeAttributeName ()
 Returns the string to be used for the type attribute. More...
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default = VERB_DEFAULT
 Default value for the verbLevel argument of describe(). More...
 

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 748 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
protectedpure 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::TwoDColDependencyXMLConverter< DependeeType, DependentType >, Teuchos::TwoDRowDependencyXMLConverter< DependeeType, DependentType >, and Teuchos::NumberArrayLengthDependencyXMLConverter< DependeeType, DependentType >.


The documentation for this class was generated from the following file: