//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the above copyright notice for more information. // // Copyright 2014 Sandia Corporation. // Copyright 2014 UT-Battelle, LLC. // Copyright 2014 Los Alamos National Security. // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this software. // // Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National // Laboratory (LANL), the U.S. Government retains certain rights in // this software. //============================================================================ // **** DO NOT EDIT THIS FILE!!! **** // This file is automatically generated by FunctionInterfaceDetailPost.h.in #ifndef vtk_m_internal_FunctionInterfaceDetailPost_h #define vtk_m_internal_FunctionInterfaceDetailPost_h #if !defined(vtk_m_internal_FunctionInterface_h) && !defined(VTKM_TEST_HEADER_BUILD) #error FunctionInterfaceDetailPre.h must be included from FunctionInterface.h #endif #include #if VTKM_MAX_FUNCTION_PARAMETERS != 10 #error Mismatch of maximum parameters between FunctionInterfaceDatailPre.h.in and FunctionInterfaceDetailPost.h.in #endif namespace vtkm { namespace internal { namespace detail { //============================================================================ template struct FunctionInterfaceStaticTransformType { typedef R(type)( ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; template struct FunctionInterfaceStaticTransformType { typedef R(type)( typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type, typename Transform::template ReturnType::type ); }; } // namespace detail //============================================================================ /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( ) { FunctionInterface fi; return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); fi.template SetParameter<6>(p6); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); fi.template SetParameter<6>(p6); fi.template SetParameter<7>(p7); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); fi.template SetParameter<6>(p6); fi.template SetParameter<7>(p7); fi.template SetParameter<8>(p8); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); fi.template SetParameter<6>(p6); fi.template SetParameter<7>(p7); fi.template SetParameter<8>(p8); fi.template SetParameter<9>(p9); return fi; } /// \brief Create a \c FunctionInterface /// /// \c make_FunctionInterface is a function that takes a variable number of /// arguments and returns a \c FunctionInterface object containing these /// objects. Since the return type for the function signature is not specified, /// you must always specify it as a template parameter /// /// \code{.cpp} /// vtkm::internal::FunctionInterface functionInterface = /// vtkm::internal::make_FunctionInterface(1, 2.5, 'a'); /// \endcode /// VTKM_SUPPRESS_EXEC_WARNINGS template VTKM_EXEC_CONT_EXPORT FunctionInterface make_FunctionInterface( P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9, P10 p10 ) { FunctionInterface fi; fi.template SetParameter<1>(p1); fi.template SetParameter<2>(p2); fi.template SetParameter<3>(p3); fi.template SetParameter<4>(p4); fi.template SetParameter<5>(p5); fi.template SetParameter<6>(p6); fi.template SetParameter<7>(p7); fi.template SetParameter<8>(p8); fi.template SetParameter<9>(p9); fi.template SetParameter<10>(p10); return fi; } } } // namespace vtkm::internal #endif //vtk_m_internal_FunctionInterfaceDetailPost_h