Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
Teuchos_DependencyXMLConverterDB.hpp File Reference

A database for DependencyXMLConverters. More...

#include "Teuchos_StandardDependencyXMLConverters.hpp"
#include "Teuchos_StandardDependencies.hpp"
#include "Teuchos_XMLParameterListReader.hpp"

Go to the source code of this file.

Classes

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

Namespaces

namespace  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_DEP_CONVERTER(DEP_TYPE, CONVERTER)
 Adds converter to the list of DependencyXMLConverters so that all dependencies of DEP_TYPE will be converted using CONVERTER.
 
#define TEUCHOS_ADD_TEMPLATED_NUMBER_DEPS(T)
 Adds converters for NumberVisualDepednency, RangeValidatorDepencny, and NumberArrayLengthDependency which are templated on type T to the list of available converters.
 
#define TEUCHOS_ADD_NUMBER_VISUAL_DEP(T)
 Adds a NumberVisualDependencyXMLConverter temeplated on type T to the list of available converters.
 
#define TEUCHOS_ADD_RANGE_VALIDATOR_DEP(T)
 Adds a RangeValidatorDependencyXMLConverter temeplated on type T to the list of available converters.
 
#define TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP(DEPENDEE_TYPE, DEPENDENT_TYPE)
 Adds a NumberArrayLengthDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.
 
#define TEUCHOS_ADD_TWODROW_DEP(DEPENDEE_TYPE, DEPENDENT_TYPE)
 Adds a TwoDRowDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.
 
#define TEUCHOS_ADD_TWODCOL_DEP(DEPENDEE_TYPE, DEPENDENT_TYPE)
 Adds a TwoDColDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.
 
#define TEUCHOS_ADD_ARRAY_MODIFIER_DEP_GROUP(DEPENDEE_TYPE)
 Adds several ArrayModifierDependencies templated on DEPENDEE_TYPE and several standard dependent types.
 

Detailed Description

A database for DependencyXMLConverters.

Definition in file Teuchos_DependencyXMLConverterDB.hpp.

Macro Definition Documentation

◆ TEUCHOS_ADD_DEP_CONVERTER

#define TEUCHOS_ADD_DEP_CONVERTER ( DEP_TYPE,
CONVERTER )
Value:
getDummyObject(), \
Teuchos::rcp(new CONVERTER));
static void addConverter(RCP< const Dependency > dependency, RCP< DependencyXMLConverter > converterToAdd)
Add a converter to the database.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...

Adds converter to the list of DependencyXMLConverters so that all dependencies of DEP_TYPE will be converted using CONVERTER.

Definition at line 189 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_TEMPLATED_NUMBER_DEPS

#define TEUCHOS_ADD_TEMPLATED_NUMBER_DEPS ( T)
Value:
TEUCHOS_ADD_RANGE_VALIDATOR_DEP(T); \
TEUCHOS_ADD_ARRAY_MODIFIER_DEP_GROUP(T);
#define TEUCHOS_ADD_NUMBER_VISUAL_DEP(T)
Adds a NumberVisualDependencyXMLConverter temeplated on type T to the list of available converters.

Adds converters for NumberVisualDepednency, RangeValidatorDepencny, and NumberArrayLengthDependency which are templated on type T to the list of available converters.

Definition at line 201 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_NUMBER_VISUAL_DEP

#define TEUCHOS_ADD_NUMBER_VISUAL_DEP ( T)
Value:
getDummyObject(), \
Teuchos::rcp(new Teuchos::NumberVisualDependencyXMLConverter< T >));
Class for retrieving a dummy object of type T.

Adds a NumberVisualDependencyXMLConverter temeplated on type T to the list of available converters.

Definition at line 210 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_RANGE_VALIDATOR_DEP

#define TEUCHOS_ADD_RANGE_VALIDATOR_DEP ( T)
Value:
getDummyObject(), \
Teuchos::rcp(new Teuchos::RangeValidatorDependencyXMLConverter< T >));

Adds a RangeValidatorDependencyXMLConverter temeplated on type T to the list of available converters.

Definition at line 220 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP

#define TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP ( DEPENDEE_TYPE,
DEPENDENT_TYPE )
Value:
DEPENDEE_TYPE , DEPENDENT_TYPE > >::getDummyObject(), \
DEPENDEE_TYPE , DEPENDENT_TYPE >));
A NumberArrayLengthDependency says the following about the relationship between two parameters: The l...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.

Adds a NumberArrayLengthDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.

Definition at line 229 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_TWODROW_DEP

#define TEUCHOS_ADD_TWODROW_DEP ( DEPENDEE_TYPE,
DEPENDENT_TYPE )
Value:
DEPENDEE_TYPE , DEPENDENT_TYPE > >::getDummyObject(), \
DEPENDEE_TYPE , DEPENDENT_TYPE >));
A class for converting TwoDRowDependencies to and from XML.
A dependency in which the number of rows in a parameter with a TwoDArray depends on the value of anot...

Adds a TwoDRowDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.

Definition at line 240 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_TWODCOL_DEP

#define TEUCHOS_ADD_TWODCOL_DEP ( DEPENDEE_TYPE,
DEPENDENT_TYPE )
Value:
DEPENDEE_TYPE , DEPENDENT_TYPE > >::getDummyObject(), \
DEPENDEE_TYPE , DEPENDENT_TYPE >));
A class for converting TwoDColDependencies to and from XML.
A dependency in which the number of rows in a parameter with a TwoDArray depends on the value of anot...

Adds a TwoDColDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to the list of available converters.

Definition at line 250 of file Teuchos_DependencyXMLConverterDB.hpp.

◆ TEUCHOS_ADD_ARRAY_MODIFIER_DEP_GROUP

#define TEUCHOS_ADD_ARRAY_MODIFIER_DEP_GROUP ( DEPENDEE_TYPE)
Value:
TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP( DEPENDEE_TYPE , std::string) \
TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP( DEPENDEE_TYPE , int) \
TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP( DEPENDEE_TYPE , long long int) \
TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP( DEPENDEE_TYPE , double) \
TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP( DEPENDEE_TYPE , float) \
TEUCHOS_ADD_TWODROW_DEP( DEPENDEE_TYPE , std::string) \
TEUCHOS_ADD_TWODROW_DEP( DEPENDEE_TYPE , int) \
TEUCHOS_ADD_TWODROW_DEP( DEPENDEE_TYPE , long long int) \
TEUCHOS_ADD_TWODROW_DEP( DEPENDEE_TYPE , double) \
TEUCHOS_ADD_TWODROW_DEP( DEPENDEE_TYPE , float) \
TEUCHOS_ADD_TWODCOL_DEP( DEPENDEE_TYPE , std::string) \
TEUCHOS_ADD_TWODCOL_DEP( DEPENDEE_TYPE , int) \
TEUCHOS_ADD_TWODCOL_DEP( DEPENDEE_TYPE , long long int) \
TEUCHOS_ADD_TWODCOL_DEP( DEPENDEE_TYPE , double) \
TEUCHOS_ADD_TWODCOL_DEP( DEPENDEE_TYPE , float)
#define TEUCHOS_ADD_NUMBER_ARRAY_LENGTH_DEP(DEPENDEE_TYPE, DEPENDENT_TYPE)
Adds a NumberArrayLengthDependencyXMLConverter tmeplated on type DEPENDEE_TYPE and DEPENDENT_TYPE to ...

Adds several ArrayModifierDependencies templated on DEPENDEE_TYPE and several standard dependent types.

Definition at line 261 of file Teuchos_DependencyXMLConverterDB.hpp.