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

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

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

Inheritance diagram for PickleMap< MapType >:
Collaboration diagram for PickleMap< MapType >:

Static Public Member Functions

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

Detailed Description

template<typename MapType>
struct pinocchio::python::PickleMap< MapType >

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

Template Parameters
MapTypeMap Type to pickle
See also
PickleVector

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

Member Function Documentation

◆ getinitargs()

template<typename MapType >
static boost::python::tuple getinitargs ( const MapType )
inlinestatic

Definition at line 26 of file pickle-map.hpp.

◆ getstate()

template<typename MapType >
static boost::python::tuple getstate ( boost::python::object  op)
inlinestatic

Definition at line 31 of file pickle-map.hpp.

◆ getstate_manages_dict()

template<typename MapType >
static bool getstate_manages_dict ( )
inlinestatic

Definition at line 69 of file pickle-map.hpp.

◆ setstate()

template<typename MapType >
static void setstate ( bp::object  op,
bp::tuple  tup 
)
inlinestatic

Definition at line 47 of file pickle-map.hpp.


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