42#ifndef TEUCHOS_VALIDATORXMLCONVERTER_HPP
43#define TEUCHOS_VALIDATORXMLCONVERTER_HPP
51#include "Teuchos_Describable.hpp"
53#include "Teuchos_ParameterEntryValidator.hpp"
109 bool assignedID=
true)
const;
127 #ifdef HAVE_TEUCHOS_DEBUG
138 getDummyValidator()
const = 0;
148 static const std::string idAttributeName =
"validatorId";
149 return idAttributeName;
154 static const std::string prototypeIdAttributeName =
"prototypeId";
155 return prototypeIdAttributeName;
160 static const std::string typeAttributeName =
"type";
161 return typeAttributeName;
166 static const std::string validatorTagName =
"Validator";
167 return validatorTagName;
An object representation of a subset of XML data.
A collection of Exceptions that can be potentially thrown when converting a ParameterList to and from...
Writes an XML object to a parameter list.
Writes a ParameterList to an XML object.
Base class for all objects that can describe themselves.
Maps Validators to integers.
Smart reference counting pointer class for automatic garbage collection.
An abstract base class for converting ParameterEntryValidators to and from XML.
static const std::string & getValidatorTagName()
static const std::string & getIdAttributeName()
static const std::string & getPrototypeIdAttributeName()
virtual void convertValidator(const RCP< const ParameterEntryValidator > validator, XMLObject &xmlObj, const ValidatortoIDMap &validatorIDsMap) const =0
Preforms any and all special validator conversion that is specific to a particlar ParameterEntryValid...
virtual RCP< ParameterEntryValidator > convertXML(const XMLObject &xmlObj, const IDtoValidatorMap &validatorIDsMap) const =0
Preforms any and all special xml conversion that is specific to a particular ParameterEntryValidator.
static const std::string & getTypeAttributeName()
A class for mapping validators to integers.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...