Public Types | Static Public Member Functions | List of all members
pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter > Struct Template Reference

Expose an container::aligned_vector from a type given as template argument. More...

#include <std-aligned-vector.hpp>

Inheritance diagram for pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >:
Inheritance graph
[legend]

Public Types

typedef eigenpy::StdContainerFromPythonList< vector_type, NoProxy > FromPythonListConverter
 
typedef T value_type
 
typedef container::aligned_vector< Tvector_type
 
- Public Types inherited from eigenpy::StdContainerFromPythonList< container::aligned_vector< T > >
typedef details::container_traits< vector_type >::Allocator Allocator
 
typedef vector_type::value_type T
 

Static Public Member Functions

template<typename VisitorDerived >
static void expose (const std::string &class_name, const boost::python::def_visitor< VisitorDerived > &visitor)
 
template<typename VisitorDerived >
static void expose (const std::string &class_name, const std::string &doc_string, const boost::python::def_visitor< VisitorDerived > &visitor)
 
static void expose (const std::string &class_name, const std::string &doc_string="")
 
- Static Public Member Functions inherited from eigenpy::StdContainerFromPythonList< container::aligned_vector< T > >
static void construct (PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *memory)
 
static void * convertible (PyObject *obj_ptr)
 
static void register_converter ()
 
::boost::python::list tolist (vector_type &self, const bool deep_copy=false)
 

Detailed Description

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
struct pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >

Expose an container::aligned_vector from a type given as template argument.

Template Parameters
TType to expose as container::aligned_vector<T>.
EnableFromPythonListConverterEnables the conversion from a Python list to a container::aligned_vector<T>.
See also
StdAlignedVectorPythonVisitor

Definition at line 31 of file std-aligned-vector.hpp.

Member Typedef Documentation

◆ FromPythonListConverter

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef eigenpy::StdContainerFromPythonList<vector_type, NoProxy> pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::FromPythonListConverter

Definition at line 40 of file std-aligned-vector.hpp.

◆ value_type

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef T pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::value_type

Definition at line 41 of file std-aligned-vector.hpp.

◆ vector_type

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef container::aligned_vector<T> pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::vector_type

Definition at line 39 of file std-aligned-vector.hpp.

Member Function Documentation

◆ expose() [1/3]

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived >
static void pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::expose ( const std::string &  class_name,
const boost::python::def_visitor< VisitorDerived > &  visitor 
)
inlinestatic

Definition at line 49 of file std-aligned-vector.hpp.

◆ expose() [2/3]

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived >
static void pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::expose ( const std::string &  class_name,
const std::string &  doc_string,
const boost::python::def_visitor< VisitorDerived > &  visitor 
)
inlinestatic

Definition at line 56 of file std-aligned-vector.hpp.

◆ expose() [3/3]

template<class T , bool NoProxy = false, bool EnableFromPythonListConverter = true>
static void pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::expose ( const std::string &  class_name,
const std::string &  doc_string = "" 
)
inlinestatic

Definition at line 43 of file std-aligned-vector.hpp.


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


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