56 #include "vtkABINamespace.h"
57 #include "vtkTypeListMacros.h"
61 VTK_ABI_NAMESPACE_BEGIN
76 template <
typename T,
typename U>
88 template <
bool Exp,
typename T,
typename F>
96 template <
typename From,
typename To>
104 template <
typename TList,
typename T>
112 template <
typename TList,
typename T>
119 template <
typename TList,
typename T>
127 template <
typename TList>
135 template <
typename TList,
typename Bad,
typename Good>
143 template <
typename TList,
typename Bad,
typename Good>
152 template <
typename TList,
typename T>
161 template <
typename TList>
168 template <
typename TList,
typename T>
171 VTK_ABI_NAMESPACE_END
174 #include "vtkTypeList.txx"
178 VTK_ABI_NAMESPACE_BEGIN
180 template <
typename... Ts>
183 VTK_ABI_NAMESPACE_END
typename vtkTypeList::detail::CreateImpl< Ts... >::type Create
Appends type T to TypeList TList and stores the result in Result.
Sets member Result to true if a conversion exists to convert type From to type To.
Sort the TypeList from most-derived to least-derived type, storing the sorted TypeList in Result.
Erase all type T from TypeList TList, storing the new list in Result.
Erase the first element of type T from TypeList TList, storing the new list in Result.
Sets the enum value Result to the index of type T in the TypeList TList.
Given a type T and a TypeList TList, store the most derived type of T in TList as Result.
Used to terminate a TypeList.
Replace all instances of Bad with Good in the TypeList TList, storing the new list in Result.
Replace the first instance of Bad with Good in the TypeList TList, storing the new list in Result.
Sets Result to T if Exp is true, or F if Exp is false.
Generic implementation of TypeList.
Remove all duplicate types from TypeList TList, storing the new list in Result.