Teuchos Package Browser (Single Doxygen Collection) 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 >:
Inheritance graph
[legend]

List of all members.

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
 

Private Members

static const std::string & getMinAttributeName ()
 
static const std::string & getMaxAttributeName ()
 
static const std::string & getStepAttributeName ()
 
static const std::string & getPrecisionAttributeName ()
 

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]
template<class T >
static const std::string& Teuchos::EnhancedNumberValidatorXMLConverter< T >::getMinAttributeName ( ) [inline, static, private]

Definition at line 369 of file Teuchos_StandardValidatorXMLConverters.hpp.

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

Definition at line 375 of file Teuchos_StandardValidatorXMLConverters.hpp.

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

Definition at line 381 of file Teuchos_StandardValidatorXMLConverters.hpp.

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

Definition at line 387 of file Teuchos_StandardValidatorXMLConverters.hpp.


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