Public Member Functions | Static Private Member Functions | List of all members
pinocchio::python::CopyableVisitor< C > Struct Template Reference

Add the Python method copy to allow a copy of this by calling the copy constructor. More...

#include <copyable.hpp>

Inheritance diagram for pinocchio::python::CopyableVisitor< C >:
Inheritance graph
[legend]

Public Member Functions

template<class PyClass >
void visit (PyClass &cl) const
 

Static Private Member Functions

static C copy (const C &self)
 
static C deepcopy (const C &self, bp::dict)
 

Detailed Description

template<class C>
struct pinocchio::python::CopyableVisitor< C >

Add the Python method copy to allow a copy of this by calling the copy constructor.

Definition at line 21 of file copyable.hpp.

Member Function Documentation

◆ copy()

template<class C >
static C pinocchio::python::CopyableVisitor< C >::copy ( const C &  self)
inlinestaticprivate

Definition at line 33 of file copyable.hpp.

◆ deepcopy()

template<class C >
static C pinocchio::python::CopyableVisitor< C >::deepcopy ( const C &  self,
bp::dict   
)
inlinestaticprivate

Definition at line 37 of file copyable.hpp.

◆ visit()

template<class C >
template<class PyClass >
void pinocchio::python::CopyableVisitor< C >::visit ( PyClass &  cl) const
inline

Definition at line 24 of file copyable.hpp.


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


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:16