Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Teuchos::TwoDArrayValidatorXMLConverter< ValidatorType, EntryType > Class Template Reference

Converts TwoDArrayValidators to and from XML. More...

#include <Teuchos_StandardValidatorXMLConverters.hpp>

Inheritance diagram for Teuchos::TwoDArrayValidatorXMLConverter< ValidatorType, EntryType >:
Inheritance graph
[legend]

List of all members.

Overridden from AbstractArrayValidatorXMLConverter

virtual RCP
< AbstractArrayValidator
< ValidatorType, EntryType > > 
getConcreteValidator (RCP< ValidatorType > prototypeValidator) const
 Returns a concrete validator that has AbstractArrayValidator as it's parent class.

Detailed Description

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

Converts TwoDArrayValidators to and from XML.

TwoDArrayValidators 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.

  <Validator 
   type="TwoDArrayValidator(PrototypeValidatorType,ParameterArrayType)"
   validatorId="Validator id"
  >
     ...Prototype Validator Goes Here...
  </Validator>

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

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

Definition at line 731 of file Teuchos_StandardValidatorXMLConverters.hpp.


Member Function Documentation

template<class ValidatorType , class EntryType >
virtual RCP<AbstractArrayValidator<ValidatorType, EntryType> > Teuchos::TwoDArrayValidatorXMLConverter< ValidatorType, EntryType >::getConcreteValidator ( RCP< ValidatorType >  prototypeValidator) const [inline, private, virtual]

Returns a concrete validator that has AbstractArrayValidator as it's parent class.

Implements Teuchos::AbstractArrayValidatorXMLConverter< ValidatorType, EntryType >.

Definition at line 737 of file Teuchos_StandardValidatorXMLConverters.hpp.


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