include
eigenpy
expose.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2019 INRIA
3
*/
4
5
#ifndef __eigenpy_expose_hpp__
6
#define __eigenpy_expose_hpp__
7
8
#include "
eigenpy/registration.hpp
"
9
10
namespace
eigenpy
{
14
template
<
typename
T>
15
struct
call
{
16
static
inline
void
expose
() {
T::expose
(); }
17
};
18
22
template
<
typename
T>
23
inline
void
expose
() {
24
if
(!register_symbolic_link_to_registered_type<T>())
call<T>::expose
();
25
}
26
}
// namespace eigenpy
27
28
#endif // ifndef __eigenpy_expose_hpp__
eigenpy
Definition:
alignment.hpp:14
registration.hpp
eigenpy::call
Allows a template specialization.
Definition:
expose.hpp:15
eigenpy::expose
void expose()
Call the expose function of a given type T.
Definition:
expose.hpp:23
eigenpy::call::expose
static void expose()
Definition:
expose.hpp:16
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:26