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

Converts FileNameValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inheritance diagram for Teuchos::FileNameValidatorXMLConverter:
Inheritance graph

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

Detailed Description

Converts FileNameValidators to and from XML.

The valid XML representation of a FileNameValidator is:

  <Validator type="FilenameValidator"
   fileMustExist="Bool Value"
   validatorId="Validator Id"

The "fileMustExist" XML attribute is optional.

Definition at line 456 of file Teuchos_StandardValidatorXMLConverters.hpp.

Member Function Documentation

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

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