Teuchos - Trilinos Tools Package Version of the Day
Teuchos::StringValidatorDependencyXMLConverter Class Reference

An xml converter for StringValidatorDependencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::StringValidatorDependencyXMLConverter:
Teuchos::ValidatorDependencyXMLConverter Teuchos::DependencyXMLConverter Teuchos::Describable Teuchos::LabeledObject

List of all members.

Overridden from ValidatorDependencyConverter

void convertSpecialValidatorAttributes (RCP< const ValidatorDependency > dependency, XMLObject &xmlObj, ValidatortoIDMap &validatorIDsMap) const
 
RCP< ValidatorDependencyconvertSpecialValidatorAttributes (const XMLObject &xmlObj, RCP< const ParameterEntry > dependee, const Dependency::ParameterEntryList dependents, const IDtoValidatorMap &validatorIDsMap) const
 
static const std::string & getValuesAndValidatorsTag ()
 

Detailed Description

An xml converter for StringValidatorDependencies.

The valid XML representation of a StringValidatorDependency is:

   <Dependency type="StringValidatorDependency"
    defaultValidatorId="value of default validator"
   />
     <Dependee parameterId="Id of dependee parameter"/>
     <Dependent parameterId="Id of dependent parameter"/>
     ...Additional Dependents...
     <ValuesAndValidators>
       <Pair value="Value 1" validatorId="Id of first mapped validator"/>
       <Pair value="Value 2" validatorId="Id of second mapped validator"/>
       ...Other value-to-validator mappings
     </ValuesAndValidators>
   </Dependency>

The "defaultValidatorId" XML attribute is optional.

Definition at line 456 of file Teuchos_StandardDependencyXMLConverters.hpp.


Member Function Documentation

void Teuchos::StringValidatorDependencyXMLConverter::convertSpecialValidatorAttributes ( RCP< const ValidatorDependency dependency,
XMLObject xmlObj,
ValidatortoIDMap validatorIDsMap 
) const [virtual]
RCP< ValidatorDependency > Teuchos::StringValidatorDependencyXMLConverter::convertSpecialValidatorAttributes ( const XMLObject xmlObj,
RCP< const ParameterEntry dependee,
const Dependency::ParameterEntryList  dependents,
const IDtoValidatorMap validatorIDsMap 
) const [virtual]
static const std::string& Teuchos::StringValidatorDependencyXMLConverter::getValuesAndValidatorsTag ( ) [inline, static]

Definition at line 478 of file Teuchos_StandardDependencyXMLConverters.hpp.


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