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

Converts AnyNumberParameterEntryValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inheritance diagram for Teuchos::AnyNumberValidatorXMLConverter:
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 & getAllowIntAttributeName ()
 
static const std::string & getAllowDoubleAttributeName ()
 
static const std::string & getAllowStringAttributeName ()
 
static const std::string & getPrefferedTypeAttributeName ()
 

Detailed Description

Converts AnyNumberParameterEntryValidators to and from XML.

The valid XML representation for an AnyNumberParameterEntryValidator is:

  <Validator type="AnyNumberValidator"
   allowInt="True or False"
   allowDouble="True or False"
   allowString="True or False"
   prefferedType="Prefered type"
  />

Definition at line 284 of file Teuchos_StandardValidatorXMLConverters.hpp.


Member Function Documentation

RCP< ParameterEntryValidator > Teuchos::AnyNumberValidatorXMLConverter::convertXML ( const XMLObject xmlObj,
const IDtoValidatorMap validatorIDsMap 
) const [virtual]
void Teuchos::AnyNumberValidatorXMLConverter::convertValidator ( const RCP< const ParameterEntryValidator validator,
XMLObject xmlObj,
const ValidatortoIDMap validatorIDsMap 
) const [virtual]
static const std::string& Teuchos::AnyNumberValidatorXMLConverter::getAllowIntAttributeName ( ) [inline, static, private]

Definition at line 316 of file Teuchos_StandardValidatorXMLConverters.hpp.

static const std::string& Teuchos::AnyNumberValidatorXMLConverter::getAllowDoubleAttributeName ( ) [inline, static, private]

Definition at line 322 of file Teuchos_StandardValidatorXMLConverters.hpp.

static const std::string& Teuchos::AnyNumberValidatorXMLConverter::getAllowStringAttributeName ( ) [inline, static, private]

Definition at line 328 of file Teuchos_StandardValidatorXMLConverters.hpp.

static const std::string& Teuchos::AnyNumberValidatorXMLConverter::getPrefferedTypeAttributeName ( ) [inline, static, private]

Definition at line 334 of file Teuchos_StandardValidatorXMLConverters.hpp.


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