Teuchos - Trilinos Tools Package Version of the Day
Teuchos::EnhancedNumberValidatorXMLConverter< T > Class Template Reference

Converts EnhancedNumberValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inheritance diagram for Teuchos::EnhancedNumberValidatorXMLConverter< T >:
Teuchos::ValidatorXMLConverter Teuchos::Describable Teuchos::LabeledObject

List of all members.

Public Member Functions

Overridden from ValidatorXMLConverter
RCP< ParameterEntryValidatorconvertXML (const XMLObject &xmlObj, const IDtoValidatorMap &validatorIDsMap) const
void convertValidator (const RCP< const ParameterEntryValidator > validator, XMLObject &xmlObj, const ValidatortoIDMap &validatorIDsMap) const

Detailed Description

template<class T>
class Teuchos::EnhancedNumberValidatorXMLConverter< T >

Converts EnhancedNumberValidators to and from XML.

The valid XML representation of an EnhancedNumberValidator is:

  <Validator type="EnhancedNumberValidator(numbertype)"
   min="Minimum Value"
   max="Maximum Value"
   step="Step Value"
   precision="Precision Value"
   validatorId="Validator Id"

The "min", "max", "step", and "precision" XML attributes are all optional.

Definition at line 335 of file Teuchos_StandardValidatorXMLConverters.hpp.

Member Function Documentation

template<class T >
RCP< ParameterEntryValidator > Teuchos::EnhancedNumberValidatorXMLConverter< T >::convertXML ( const XMLObject xmlObj,
const IDtoValidatorMap validatorIDsMap 
) const [virtual]
template<class T >
void Teuchos::EnhancedNumberValidatorXMLConverter< T >::convertValidator ( const RCP< const ParameterEntryValidator validator,
XMLObject xmlObj,
const ValidatortoIDMap validatorIDsMap 
) const [virtual]

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