Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
List of all members
Teuchos::ArrayValidatorXMLConverter< ValidatorType, EntryType > Class Template Reference

Converts ArrayValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inherits Teuchos::AbstractArrayValidatorXMLConverter< ValidatorType, EntryType >.

Detailed Description

template<class ValidatorType, class EntryType>
class Teuchos::ArrayValidatorXMLConverter< ValidatorType, EntryType >

Converts ArrayValidators to and from XML.

ArrayValidators can be represented in XML one of two ways. The first just creates the prototype validator as a child of the ArrayValidator. In this case, the prototype validator does NOT use a validatorId.

type="ArrayValidator(PrototypeValidatorType,ParameterArrayType)"
validatorId="Validator id"
>
...Prototype Validator Goes Here...
Smart reference counting pointer class for automatic garbage collection.

The second way to define an ArrayValidator in XML is to just use the "prototypeId" attribute to specify the prototype validator as some other validator you've already defined.

type="ArrayValidator(PrototypeValidatorType,ParameterArrayType)"
validatorId="Validator id"
prototypeId="Prototype Validator Id"
/>

Definition at line 749 of file Teuchos_StandardValidatorXMLConverters.hpp.


The documentation for this class was generated from the following file: