eigenpy
3.13.0
Bindings between Numpy and Eigen using Boost.Python
Toggle main menu visibility
Loading...
Searching...
No Matches
expose.hpp
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
eigenpy::expose
void expose()
Call the expose function of a given type T.
Definition
expose.hpp:23
eigenpy::register_symbolic_link_to_registered_type
bool register_symbolic_link_to_registered_type()
Symlink to the current scope the already registered class T.
Definition
registration.hpp:42
eigenpy::call
Allows a template specialization.
Definition
expose.hpp:15
include
eigenpy
expose.hpp
Generated by
1.17.0