Teuchos - Trilinos Tools Package  Version of the Day
Classes | Namespaces | Macros
Teuchos_ValidatorXMLConverterDB.hpp File Reference

A database for ValidatorXMLConverters. More...

#include "Teuchos_ValidatorXMLConverter.hpp"
#include "Teuchos_StandardValidatorXMLConverters.hpp"

Go to the source code of this file.

Classes

class  Teuchos::ValidatorXMLConverterDB
 Provides ability to lookup ValidatorXMLConverterDB. More...
 

Namespaces

 Teuchos
 The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
 

Macros

#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER(INTEGRALTYPE)
 Add StringToIntegralParameterEntryValidator<INTEGRAL_TYPE> to set of supported parameter types. More...
 
#define TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER(T)
 Add EnhancedNumberValidator<T> to the set of supported parameter types. More...
 
#define TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER(VALIDATORTYPE, ENTRYTYPE)
 Add ArrayValidator<VALIDATORTYPE, ENTRYTYPE> to set of supported parameter types. More...
 
#define TEUCHOS_ADD_NUMBERTYPE_VALIDATOR_CONVERTERS(T)
 Add numeric parameter types for type T. More...
 
#define TEUCHOS_ADD_VALIDATOR_CONVERTER(VALIDATOR_TYPE, CONVERTER_TYPE)
 Add a validator converter of type CONVERTER_TYPE which converts validators of VALIDATOR_TYPE to the map CONVERTER_MAP. More...
 

Detailed Description

A database for ValidatorXMLConverters.

Definition in file Teuchos_ValidatorXMLConverterDB.hpp.

Macro Definition Documentation

◆ TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER

#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER (   INTEGRALTYPE)
Value:

Add StringToIntegralParameterEntryValidator<INTEGRAL_TYPE> to set of supported parameter types.

Definition at line 186 of file Teuchos_ValidatorXMLConverterDB.hpp.

◆ TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER

#define TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER (   T)
Value:

Add EnhancedNumberValidator<T> to the set of supported parameter types.

Definition at line 199 of file Teuchos_ValidatorXMLConverterDB.hpp.

◆ TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER

#define TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER (   VALIDATORTYPE,
  ENTRYTYPE 
)

◆ TEUCHOS_ADD_NUMBERTYPE_VALIDATOR_CONVERTERS

#define TEUCHOS_ADD_NUMBERTYPE_VALIDATOR_CONVERTERS (   T)
Value:
TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER(T); \
TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER(Teuchos::EnhancedNumberValidator< T >, T );

Add numeric parameter types for type T.

Definition at line 226 of file Teuchos_ValidatorXMLConverterDB.hpp.

◆ TEUCHOS_ADD_VALIDATOR_CONVERTER

#define TEUCHOS_ADD_VALIDATOR_CONVERTER (   VALIDATOR_TYPE,
  CONVERTER_TYPE 
)
Value:

Add a validator converter of type CONVERTER_TYPE which converts validators of VALIDATOR_TYPE to the map CONVERTER_MAP.

Definition at line 234 of file Teuchos_ValidatorXMLConverterDB.hpp.

Teuchos::ValidatorXMLConverterDB::addConverter
static void addConverter(RCP< const ParameterEntryValidator > validator, RCP< ValidatorXMLConverter > converterToAdd)
Add a converter to the database.
Definition: Teuchos_ValidatorXMLConverterDB.cpp:52
Teuchos::EnhancedNumberValidatorXMLConverter
Converts EnhancedNumberValidators to and from XML.
Definition: Teuchos_StandardValidatorXMLConverters.hpp:405
Teuchos::rcp
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Definition: Teuchos_RCPDecl.hpp:1224
Teuchos::ArrayValidatorXMLConverter
Converts ArrayValidators to and from XML.
Definition: Teuchos_StandardValidatorXMLConverters.hpp:749
Teuchos::EnhancedNumberValidator
Class uesd to validate a particular type of number.
Definition: Teuchos_StandardParameterEntryValidators.hpp:1353
Teuchos::DummyObjectGetter
Class for retrieving a dummy object of type T.
Definition: Teuchos_DummyObjectGetter.hpp:55
Teuchos::TwoDArrayValidatorXMLConverter
Converts TwoDArrayValidators to and from XML.
Definition: Teuchos_StandardValidatorXMLConverters.hpp:801
Teuchos::StringToIntegralParameterEntryValidator
Standard implementation of a ParameterEntryValidator that maps from a list of strings to an enum or i...
Definition: Teuchos_StandardParameterEntryValidators.hpp:92
TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER
#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER(INTEGRALTYPE)
Add StringToIntegralParameterEntryValidator<INTEGRAL_TYPE> to set of supported parameter types.
Definition: Teuchos_ValidatorXMLConverterDB.hpp:186
Teuchos::TwoDArrayValidator
Takes a validator, wraps it, and applies it to a TwoDArray.
Definition: Teuchos_StandardParameterEntryValidators.hpp:2024
Teuchos::ArrayValidator
Takes a validator, wraps it, and applies it to an array.
Definition: Teuchos_StandardParameterEntryValidators.hpp:2209
Teuchos::StringToIntegralValidatorXMLConverter
Convert a StringToIntegralParameterEntryValidator to and from XML.
Definition: Teuchos_StandardValidatorXMLConverters.hpp:99