Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Teuchos::RangeValidatorDependencyXMLConverter< T > Class Template Reference

An xml converter for RangeValidatorDependencies. More...

#include <Teuchos_StandardDependencyXMLConverters.hpp>

Inheritance diagram for Teuchos::RangeValidatorDependencyXMLConverter< T >:
Inheritance graph
[legend]

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 & getRangesAndValidatorsTag ()
 

Private Members

static const std::string & getPairTag ()
 
static const std::string & getMinAttributeName ()
 
static const std::string & getMaxAttributeName ()
 
static const std::string & getValidatorIdAttributeName ()
 
static const std::string & getDefaultValidatorIdAttributeName ()
 

Detailed Description

template<class T>
class Teuchos::RangeValidatorDependencyXMLConverter< T >

An xml converter for RangeValidatorDependencies.

The valid XML representation of a RangeValidatorDependency is:

    <Dependency type="RangeValidatorDependency(number_type_of_dependee)"
      defaultValidatoId="id of default validator"
    />
      <Dependee parameterId="Id of dependee parameter"/>
      <Dependent parameterId="Id of dependent parameter"/>
      ...Any other dependent parameters...
      <RangesAndValidators>
        <Pair min="min value" max="max value" 
          validatorId="Id of first mapped validator"/>
        <Pair min="min value" max="max value" 
          validatorId="Id of second mapped validator"/>
        ...Other range-to-validator mappings...
      </RangesAndValidators>
      ...Optional function tag...
    </Dependency>

The "defaultValidatorId" XML attribute is optional.

Definition at line 602 of file Teuchos_StandardDependencyXMLConverters.hpp.


Member Function Documentation

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

Definition at line 624 of file Teuchos_StandardDependencyXMLConverters.hpp.

template<class T >
static const std::string& Teuchos::RangeValidatorDependencyXMLConverter< T >::getPairTag ( ) [inline, static, private]

Definition at line 637 of file Teuchos_StandardDependencyXMLConverters.hpp.

template<class T >
static const std::string& Teuchos::RangeValidatorDependencyXMLConverter< T >::getMinAttributeName ( ) [inline, static, private]

Definition at line 643 of file Teuchos_StandardDependencyXMLConverters.hpp.

template<class T >
static const std::string& Teuchos::RangeValidatorDependencyXMLConverter< T >::getMaxAttributeName ( ) [inline, static, private]

Definition at line 649 of file Teuchos_StandardDependencyXMLConverters.hpp.

template<class T >
static const std::string& Teuchos::RangeValidatorDependencyXMLConverter< T >::getValidatorIdAttributeName ( ) [inline, static, private]

Definition at line 656 of file Teuchos_StandardDependencyXMLConverters.hpp.

template<class T >
static const std::string& Teuchos::RangeValidatorDependencyXMLConverter< T >::getDefaultValidatorIdAttributeName ( ) [inline, static, private]

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