Macros
type_traits_error_msgs.h File Reference

Go to the source code of this file.

Macros

#define NO_STD_CONTAINERS
 
#define OPTIONAL_FHICL_TYPES
 
#define FHICL_TYPES
 
#define NO_NESTED_FHICL_TYPES_IN_ATOM
 
#define NO_NESTED_FHICL_TYPES_IN_TABLE
 
#define NO_NESTED_TABLE_FRAGMENTS
 
#define NO_DEFAULTS_FOR_TABLE
 
#define REQUIRE_CLASS_TABLE_FRAGMENT
 
#define NO_OPTIONAL_TYPES
 
#define NO_DELEGATED_PARAMETERS
 

Macro Definition Documentation

#define FHICL_TYPES
Value:
" .. Atom<T>\n" \
" .. Sequence<T>\n" \
" .. Sequence<T,SZ>\n" OPTIONAL_FHICL_TYPES \
" .. Table<T>\n" \
" .. TableFragment<T>\n" \
" .. Tuple<T...>\n"
#define OPTIONAL_FHICL_TYPES

Definition at line 31 of file type_traits_error_msgs.h.

#define NO_DEFAULTS_FOR_TABLE
Value:
"\n\n" \
"fhiclcpp error: Cannot specify a default for type 'Table'\n" \
" Please remove 'Table<T>{}' from default list.\n\n"

Definition at line 55 of file type_traits_error_msgs.h.

#define NO_DELEGATED_PARAMETERS
Value:
"\n\n" \
"fhiclcpp error: The 'DelegatedParameter' and " \
"'OptionalDelegatedParameter'\n" \
" types cannot be template arguments to any fhiclcpp " \
"types.\n\n"

Definition at line 71 of file type_traits_error_msgs.h.

#define NO_NESTED_FHICL_TYPES_IN_ATOM
Value:
"\n\n" \
"fhiclcpp error: Cannot create a nested 'Atom'--i.e. cannot create an\n" \
" 'Atom' with the following types:\n\n" FHICL_TYPES
#define FHICL_TYPES

Definition at line 39 of file type_traits_error_msgs.h.

#define NO_NESTED_FHICL_TYPES_IN_TABLE
Value:
"\n\n" \
"fhiclcpp error: Cannot create a nested 'Table'--i.e. cannot create a\n" \
" 'Table' with the following types:\n\n" FHICL_TYPES
#define FHICL_TYPES

Definition at line 44 of file type_traits_error_msgs.h.

#define NO_NESTED_TABLE_FRAGMENTS
Value:
"\n\n" \
"fhiclcpp error: A 'TableFragment' cannot be a template argument (\"T\" " \
"below)\n" \
" to any of the following types:\n\n" FHICL_TYPES
#define FHICL_TYPES

Definition at line 49 of file type_traits_error_msgs.h.

#define NO_OPTIONAL_TYPES
Value:
"\n\n" \
"fhiclcpp error: The following optional parameters cannot be\n" \
" template arguments to any fhiclcpp " \
"types:\n\n" OPTIONAL_FHICL_TYPES
#define OPTIONAL_FHICL_TYPES

Definition at line 65 of file type_traits_error_msgs.h.

#define NO_STD_CONTAINERS
Value:
"\n\n" \
"fhiclcpp error: Cannot create a fhicl-cpp parameter with any of the " \
"following types\n\n" \
" .. std::array\n" \
" .. std::pair\n" \
" .. std::vector\n" \
" .. std::tuple\n\n" \
" Please use one of the 'Sequence' options:\n\n" \
" .. Sequence<int,4u> ===> std::array <int,4u>\n" \
" .. Sequence<int> ===> std::vector<int>\n" \
" .. Tuple<int,double> ===> std::tuple " \
"<int,double>\n" \
" .. Tuple<int,double,bool> ===> std::tuple " \
"<int,double,bool>\n" \
" .. Sequence<Sequence<int>,4u> ===> std::array " \
"<std::vector<int>,4u>\n" \
" .. etc.\n"

Definition at line 4 of file type_traits_error_msgs.h.

#define OPTIONAL_FHICL_TYPES
Value:
" .. OptionalAtom<T>\n" \
" .. OptionalSequence<T>\n" \
" .. OptionalSequence<T,SZ>\n" \
" .. OptionalTable<T>\n" \
" .. OptionalTuple<T...>\n" \
" .. OptionalTupleAs<T(U...)>\n"

Definition at line 23 of file type_traits_error_msgs.h.

#define REQUIRE_CLASS_TABLE_FRAGMENT
Value:
"\n\n" \
"fhiclcpp error: The template argument for a TableFragment must be\n" \
" a 'class' or a 'struct'.\n\n"

Definition at line 60 of file type_traits_error_msgs.h.