Public Types | 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 StdContainerFromPythonList< vector_typeFromPythonListConverter
 
typedef container::aligned_vector< Tvector_type
 
- Public Types inherited from pinocchio::python::StdContainerFromPythonList< container::aligned_vector< T > >
typedef container::aligned_vector< T > ::value_type T
 

Public Member Functions

static ::boost::python::class_< vector_typeexpose (const std::string &class_name, const std::string &doc_string="")
 

Additional Inherited Members

- Static Public Member Functions inherited from pinocchio::python::StdContainerFromPythonList< container::aligned_vector< T > >
static void construct (PyObject *obj_ptr, boost::python::converter::rvalue_from_python_stage1_data *memory)
 Allocate the std::vector and fill it with the element contained in the list. More...
 
static void * convertible (PyObject *obj_ptr)
 Check if obj_ptr can be converted. More...
 
static void register_converter ()
 
::boost::python::list tolist (container::aligned_vector< T > &self)
 

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 StdContainerFromPythonList<vector_type> pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >::FromPythonListConverter

Definition at line 36 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 35 of file std-aligned-vector.hpp.

Member Function Documentation

◆ expose()

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

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


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


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:36