Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER (   INTEGRALTYPE)
Value:
getDummyObject(), \
Convert a StringToIntegralParameterEntryValidator to and from XML.
static void addConverter(RCP< const ParameterEntryValidator > validator, RCP< ValidatorXMLConverter > converterToAdd)
Add a converter to the database.
Standard implementation of a ParameterEntryValidator that maps from a list of strings to an enum or i...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Class for retrieving a dummy object of type T.

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

Definition at line 153 of file Teuchos_ValidatorXMLConverterDB.hpp.

#define TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER (   T)
Value:
getDummyObject(), \
static void addConverter(RCP< const ParameterEntryValidator > validator, RCP< ValidatorXMLConverter > converterToAdd)
Add a converter to the database.
Converts EnhancedNumberValidators to and from XML.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Class for retrieving a dummy object of type T.
Class uesd to validate a particular type of number.

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

Definition at line 166 of file Teuchos_ValidatorXMLConverterDB.hpp.

#define TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER (   VALIDATORTYPE,
  ENTRYTYPE 
)
Value:
getDummyObject(), \
getDummyObject(), \
static void addConverter(RCP< const ParameterEntryValidator > validator, RCP< ValidatorXMLConverter > converterToAdd)
Add a converter to the database.
Converts TwoDArrayValidators to and from XML.
Takes a validator, wraps it, and applies it to a TwoDArray.
Converts ArrayValidators to and from XML.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Takes a validator, wraps it, and applies it to an array.
Class for retrieving a dummy object of type T.

Add ArrayValidator<VALIDATORTYPE, ENTRYTYPE> to set of supported parameter types.

Definition at line 178 of file Teuchos_ValidatorXMLConverterDB.hpp.

#define TEUCHOS_ADD_NUMBERTYPE_VALIDATOR_CONVERTERS (   T)
Value:
#define TEUCHOS_ADD_ARRAYVALIDATOR_CONVERTER(VALIDATORTYPE, ENTRYTYPE)
Add ArrayValidator&lt;VALIDATORTYPE, ENTRYTYPE&gt; to set of supported parameter types. ...
#define TEUCHOS_ADD_ENHANCEDNUMBERVALIDATOR_CONVERTER(T)
Add EnhancedNumberValidator&lt;T&gt; to the set of supported parameter types.
#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER(INTEGRALTYPE)
Add StringToIntegralParameterEntryValidator&lt;INTEGRAL_TYPE&gt; to set of supported parameter types...
Class uesd to validate a particular type of number.

Add numeric parameter types for type T.

Definition at line 193 of file Teuchos_ValidatorXMLConverterDB.hpp.

#define TEUCHOS_ADD_VALIDATOR_CONVERTER (   VALIDATOR_TYPE,
  CONVERTER_TYPE 
)
Value:
::getDummyObject(), \
Teuchos::rcp(new CONVERTER_TYPE ));
static void addConverter(RCP< const ParameterEntryValidator > validator, RCP< ValidatorXMLConverter > converterToAdd)
Add a converter to the database.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Class for retrieving a dummy object of type T.

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

Definition at line 201 of file Teuchos_ValidatorXMLConverterDB.hpp.