Rosetta  2020.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Member Functions | List of all members
rosetta_binders::utility_vector_binder< Vector, L, T, Allocator > Class Template Reference

#include <rosetta_binders.hpp>

Public Member Functions

 utility_vector_binder (pybind11::module &m, std::string const &lower_index, std::string const &name, std::string const &)
 
 utility_vector_binder (pybind11::module &m, std::string const &name, std::string const &allocator)
 

Private Types

using SizeType = typename Vector::size_type
 
using SSizeType = typename Vector::ssize_type
 
using ItType = typename Vector::iterator
 
using Class_ = pybind11::class_< Vector, std::shared_ptr< Vector > >
 

Private Member Functions

template<typename U = T, typename std::enable_if< std::is_default_constructible< U >::value >::type * = nullptr>
void maybe_default_constructible (Class_ &cl)
 
template<typename U = T, typename std::enable_if< !std::is_default_constructible< U >::value >::type * = nullptr>
void maybe_default_constructible (Class_ &)
 
template<typename U = T, typename std::enable_if< std::is_copy_constructible< U >::value >::type * = nullptr>
void maybe_copy_constructible (Class_ &cl)
 
template<typename U = T, typename std::enable_if< !std::is_copy_constructible< U >::value >::type * = nullptr>
void maybe_copy_constructible (Class_ &)
 
template<typename U = T, typename std::enable_if< has_equal_operator_s< U >::value >::type * = nullptr>
void maybe_has_equal_operator (Class_ &cl)
 
template<typename U = T, typename std::enable_if< !has_equal_operator_s< U >::value >::type * = nullptr>
void maybe_has_equal_operator (Class_ &)
 
template<typename U = T, typename std::enable_if< has_insertion_operator_s< U >::value >::type * = nullptr>
void maybe_has_insertion_operator (std::string const &name, Class_ &cl)
 
template<typename U = T, typename std::enable_if< !has_insertion_operator_s< U >::value >::type * = nullptr>
void maybe_has_insertion_operator (std::string const &, Class_ &)
 

Member Typedef Documentation

template<typename Vector , platform::SSize L, typename T , typename Allocator >
using rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::Class_ = pybind11::class_<Vector, std::shared_ptr< Vector > >
private
template<typename Vector , platform::SSize L, typename T , typename Allocator >
using rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::ItType = typename Vector::iterator
private
template<typename Vector , platform::SSize L, typename T , typename Allocator >
using rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::SizeType = typename Vector::size_type
private
template<typename Vector , platform::SSize L, typename T , typename Allocator >
using rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::SSizeType = typename Vector::ssize_type
private

Constructor & Destructor Documentation

template<typename Vector , platform::SSize L, typename T , typename Allocator >
rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::utility_vector_binder ( pybind11::module &  m,
std::string const &  lower_index,
std::string const &  name,
std::string const &   
)
inline
template<typename Vector , platform::SSize L, typename T , typename Allocator >
rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::utility_vector_binder ( pybind11::module &  m,
std::string const &  name,
std::string const &  allocator 
)
inline

Member Function Documentation

template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< std::is_copy_constructible< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_copy_constructible ( Class_ cl)
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< !std::is_copy_constructible< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_copy_constructible ( Class_ )
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< std::is_default_constructible< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_default_constructible ( Class_ cl)
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< !std::is_default_constructible< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_default_constructible ( Class_ )
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< has_equal_operator_s< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_has_equal_operator ( Class_ cl)
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< !has_equal_operator_s< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_has_equal_operator ( Class_ )
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< has_insertion_operator_s< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_has_insertion_operator ( std::string const &  name,
Class_ cl 
)
inlineprivate
template<typename Vector , platform::SSize L, typename T , typename Allocator >
template<typename U = T, typename std::enable_if< !has_insertion_operator_s< U >::value >::type * = nullptr>
void rosetta_binders::utility_vector_binder< Vector, L, T, Allocator >::maybe_has_insertion_operator ( std::string const &  ,
Class_  
)
inlineprivate

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