Public Types | Public Member Functions | List of all members
pinocchio::container::aligned_vector< T > Struct Template Reference

Specialization of an std::vector with an aligned allocator. This specialization might be used when the type T is or contains some Eigen members. More...

#include <aligned-vector.hpp>

Inheritance diagram for pinocchio::container::aligned_vector< T >:
Inheritance graph
[legend]

Public Types

typedef vector_base::allocator_type allocator_type
 
typedef const vector_baseconst_vector_base_ref
 
typedef vector_base::iterator iterator
 
typedef vector_base::size_type size_type
 
typedef T value_type
 
typedef ::std::vector< T, Eigen::aligned_allocator< T > > vector_base
 
typedef vector_basevector_base_ref
 

Public Member Functions

 aligned_vector (const allocator_type &a=allocator_type())
 
template<typename InputIterator >
 aligned_vector (InputIterator first, InputIterator last, const allocator_type &a=allocator_type())
 
 aligned_vector (const aligned_vector &c)
 
 aligned_vector (size_type num, const value_type &val=value_type())
 
 aligned_vector (iterator start, iterator end)
 
vector_basebase ()
 
const vector_basebase () const
 
aligned_vectoroperator= (const aligned_vector &x)
 

Detailed Description

template<typename T>
struct pinocchio::container::aligned_vector< T >

Specialization of an std::vector with an aligned allocator. This specialization might be used when the type T is or contains some Eigen members.

Template Parameters
TType of the elements.

Definition at line 26 of file container/aligned-vector.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T>
typedef vector_base::allocator_type pinocchio::container::aligned_vector< T >::allocator_type

Definition at line 33 of file container/aligned-vector.hpp.

◆ const_vector_base_ref

template<typename T>
typedef const vector_base& pinocchio::container::aligned_vector< T >::const_vector_base_ref

Definition at line 29 of file container/aligned-vector.hpp.

◆ iterator

template<typename T>
typedef vector_base::iterator pinocchio::container::aligned_vector< T >::iterator

Definition at line 35 of file container/aligned-vector.hpp.

◆ size_type

template<typename T>
typedef vector_base::size_type pinocchio::container::aligned_vector< T >::size_type

Definition at line 34 of file container/aligned-vector.hpp.

◆ value_type

template<typename T>
typedef T pinocchio::container::aligned_vector< T >::value_type

Definition at line 32 of file container/aligned-vector.hpp.

◆ vector_base

template<typename T>
typedef ::std::vector<T, Eigen::aligned_allocator<T> > pinocchio::container::aligned_vector< T >::vector_base

Definition at line 28 of file container/aligned-vector.hpp.

◆ vector_base_ref

Definition at line 30 of file container/aligned-vector.hpp.

Constructor & Destructor Documentation

◆ aligned_vector() [1/5]

template<typename T>
pinocchio::container::aligned_vector< T >::aligned_vector ( const allocator_type a = allocator_type())
inlineexplicit

Definition at line 37 of file container/aligned-vector.hpp.

◆ aligned_vector() [2/5]

template<typename T>
template<typename InputIterator >
pinocchio::container::aligned_vector< T >::aligned_vector ( InputIterator  first,
InputIterator  last,
const allocator_type a = allocator_type() 
)
inline

Definition at line 39 of file container/aligned-vector.hpp.

◆ aligned_vector() [3/5]

template<typename T>
pinocchio::container::aligned_vector< T >::aligned_vector ( const aligned_vector< T > &  c)
inline

Definition at line 41 of file container/aligned-vector.hpp.

◆ aligned_vector() [4/5]

template<typename T>
pinocchio::container::aligned_vector< T >::aligned_vector ( size_type  num,
const value_type val = value_type() 
)
inlineexplicit

Definition at line 42 of file container/aligned-vector.hpp.

◆ aligned_vector() [5/5]

template<typename T>
pinocchio::container::aligned_vector< T >::aligned_vector ( iterator  start,
iterator  end 
)
inline

Definition at line 44 of file container/aligned-vector.hpp.

Member Function Documentation

◆ base() [1/2]

template<typename T>
vector_base& pinocchio::container::aligned_vector< T >::base ( )
inline

Definition at line 48 of file container/aligned-vector.hpp.

◆ base() [2/2]

template<typename T>
const vector_base& pinocchio::container::aligned_vector< T >::base ( ) const
inline

Definition at line 49 of file container/aligned-vector.hpp.

◆ operator=()

template<typename T>
aligned_vector& pinocchio::container::aligned_vector< T >::operator= ( const aligned_vector< T > &  x)
inline

Definition at line 45 of file container/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