Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Teuchos::BoolValidatorDependencyXMLConverter Class Reference

An xml converter for BoolValidatorDependencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::BoolValidatorDependencyXMLConverter:
Inheritance graph

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

Private Members

static const std::string & getFalseValidatorIdAttributeName ()
static const std::string & getTrueValidatorIdAttributeName ()

Detailed Description

An xml converter for BoolValidatorDependencies.

The valid XML representation of a BoolValidatorDependency is:

    <Dependency type="BoolValidatorDependency"
      trueValidatorId="Id of the true validator"
      falseValidatorId="Id of the false validator"
      <Dependee parameterId="Id of dependee parameter"/>
      <Dependent parameterId="Id of dependent parameter"/>
      ...Any other dependent parameters...

You don't have to include both a "trueValidatorId" and "falseValidatorId" XML attribute, but you must include at least one of them.

Definition at line 534 of file Teuchos_StandardDependencyXMLConverters.hpp.

Member Function Documentation

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

Definition at line 562 of file Teuchos_StandardDependencyXMLConverters.hpp.

static const std::string& Teuchos::BoolValidatorDependencyXMLConverter::getTrueValidatorIdAttributeName ( ) [inline, static, private]

Definition at line 569 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