pinocchio  3.9.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
PickleVector< VecType > Struct Template Reference

Create a pickle interface for the std::vector and aligned vector. More...

#include <pinocchio/bindings/python/utils/pickle-vector.hpp>

Inheritance diagram for PickleVector< VecType >:
Collaboration diagram for PickleVector< VecType >:

Static Public Member Functions

static boost::python::tuple getinitargs (const VecType &)
static boost::python::tuple getstate (boost::python::object op)
static bool getstate_manages_dict ()
static void setstate (boost::python::object op, boost::python::tuple tup)

Detailed Description

template<typename VecType>
struct pinocchio::python::PickleVector< VecType >

Create a pickle interface for the std::vector and aligned vector.

Template Parameters
VecTypeVector Type to pickle

Definition at line 22 of file pickle-vector.hpp.

Member Function Documentation

◆ getinitargs()

template<typename VecType>
boost::python::tuple getinitargs(const VecType &)
inlinestatic

Definition at line 24 of file pickle-vector.hpp.

◆ getstate()

template<typename VecType>
boost::python::tuple getstate(boost::python::objectop)
inlinestatic

Definition at line 29 of file pickle-vector.hpp.

◆ getstate_manages_dict()

template<typename VecType>
bool getstate_manages_dict()
inlinestatic

Definition at line 49 of file pickle-vector.hpp.

◆ setstate()

template<typename VecType>
void setstate(boost::python::objectop,
boost::python::tupletup )
inlinestatic

Definition at line 35 of file pickle-vector.hpp.


The documentation for this struct was generated from the following file: