Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
j
l
m
n
p
q
r
s
t
u
v
x
y
z
Enumerations
Enumerator
a
b
c
e
f
g
j
l
m
o
p
r
s
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
d
f
i
l
m
n
o
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
d
g
j
m
p
r
s
t
v
Enumerator
Macros
_
a
b
d
e
f
h
i
j
k
m
o
p
q
r
s
v
Examples
include
pinocchio
bindings
python
utils
constant.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2018 CNRS
3
//
4
5
#ifndef __pinocchio_python_utils_constant_hpp__
6
#define __pinocchio_python_utils_constant_hpp__
7
8
#include <boost/python/scope.hpp>
9
10
namespace
boost
11
{
12
namespace
python
13
{
14
23
template
<
typename
T>
24
void
def_constant
(
const
char
*
name
,
const
T
& value)
25
{
26
namespace
bp
=
boost::python
;
27
bp::scope().attr(
name
) =
value
;
28
}
29
30
}
// namespace python
31
}
// namespace boost
32
33
#endif // ifndef __pinocchio_python_utils_constant_hpp__
simulation-contact-dynamics.T
int T
Definition:
simulation-contact-dynamics.py:89
boost::python
boost::python::def_constant
void def_constant(const char *name, const T &value)
Define a constant given its value and a name within the current Boost Python scope.
Definition:
constant.hpp:24
boost
python
value
float value
setup.name
name
Definition:
cmake/cython/setup.in.py:179
pinocchio
Author(s):
autogenerated on Thu Apr 10 2025 02:42:16