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

Converts StringValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inheritance diagram for Teuchos::StringValidatorXMLConverter:
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 & getStringTagName ()
 
static const std::string & getStringValueAttributeName ()
 

Detailed Description

Converts StringValidators to and from XML.

The valid XML represenation of a StringValidator is:

  <Validator type="StringValidator"
   validatorId="Validator id"
  >
    <String value="Value 1"/>
    <String value="Value 2"/>
    ...Other String Values...
  </Validator>

Definition at line 536 of file Teuchos_StandardValidatorXMLConverters.hpp.


Member Function Documentation

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

Definition at line 568 of file Teuchos_StandardValidatorXMLConverters.hpp.

static const std::string& Teuchos::StringValidatorXMLConverter::getStringValueAttributeName ( ) [inline, static, private]

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