Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
ParameterList_SerializationTest.cpp File Reference
Include dependency graph for ParameterList_SerializationTest.cpp:

Go to the source code of this file.

Namespaces

namespace  Teuchos

Macros

#define ADD_TYPE_PARAMETER(T, VALUE)
#define ADD_ARRAY_TYPE_PARAMETER(T, VALUE)
#define ADD_TYPE_AND_ARRAY_TYPE_PARAMETER(T, VALUE)

Functions

 Teuchos::TEUCHOS_UNIT_TEST (Teuchos_ParameterList, ADD_TYPE_AND_ARRAY_TYPE_PARAMETER)
 Teuchos::TEUCHOS_UNIT_TEST (Teuchos_ParameterList, parameterEntryXMLConverters)
 Teuchos::TEUCHOS_UNIT_TEST (Teuchos_ParameterList, parameterEntryConverterExceptions)

Variables

const int Teuchos::g_arraySize = 5

Macro Definition Documentation

◆ ADD_TYPE_PARAMETER

#define ADD_TYPE_PARAMETER ( T,
VALUE )
Value:
myList.set( #T , as<T>(VALUE));
TypeTo as(const TypeFrom &t)
Convert from one value type to another.

Definition at line 61 of file ParameterList_SerializationTest.cpp.

◆ ADD_ARRAY_TYPE_PARAMETER

#define ADD_ARRAY_TYPE_PARAMETER ( T,
VALUE )
Value:
myList.set( #T " Array", Array< T >(g_arraySize, ( T ) VALUE ));\
myList.set( #T " 2DArray", TwoDArray< T >(g_arraySize, g_arraySize, ( T ) VALUE ));
Replacement for std::vector that is compatible with the Teuchos Memory Management classes.

Definition at line 64 of file ParameterList_SerializationTest.cpp.

◆ ADD_TYPE_AND_ARRAY_TYPE_PARAMETER

#define ADD_TYPE_AND_ARRAY_TYPE_PARAMETER ( T,
VALUE )
Value:
ADD_TYPE_PARAMETER(T,VALUE); \
ADD_ARRAY_TYPE_PARAMETER(T,VALUE);
#define ADD_TYPE_PARAMETER(T, VALUE)

Definition at line 67 of file ParameterList_SerializationTest.cpp.