Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Functions
rosetta_binders Namespace Reference

Namespaces

 has_insertion_operator_implementation
 

Classes

struct  has_equal_operator_s
 
struct  has_equal_operator_s< std::map< A, B > >
 
struct  has_equal_operator_s< std::pair< A, B > >
 
struct  has_equal_operator_s< std::set< A > >
 
struct  has_equal_operator_s< std::vector< A > >
 
struct  has_equal_operator_s< T >
 
struct  has_equal_operator_s< utility::vector0< A > >
 
struct  has_equal_operator_s< utility::vector1< A > >
 
struct  has_insertion_operator_s
 
class  utility_vector_binder
 

Typedefs

template<platform::SSize L, typename T , typename A >
using vectorL_binder = utility_vector_binder< utility::vectorL< L, T, A >, L, T, A >
 
template<typename T , typename A >
using vector0_binder = utility_vector_binder< utility::vector0< T, A >, 0, T, A >
 
template<typename T , typename A >
using vector1_binder = utility_vector_binder< utility::vector1< T, A >, 1, T, A >
 

Functions

template<typename T >
constexpr auto has_equal_operator (int) -> decltype(std::is_same< std::true_type, decltype(std::declval< T >()==std::declval< T >())>::valueandstd::is_same< std::true_type, decltype(std::declval< T >()!=std::declval< T >())>::value)
 
template<typename T >
constexpr bool has_equal_operator (...)
 
template<typename T >
constexpr bool has_insertion_operator ()
 
template<typename T >
void xyzVector_add_on_binder (pybind11::class_< numeric::xyzVector< T >, std::shared_ptr< numeric::xyzVector< T > > > &cl)
 
template<typename T >
void xyzMatrix_add_on_binder (pybind11::class_< numeric::xyzMatrix< T >, std::shared_ptr< numeric::xyzMatrix< T > > > &cl)
 
template<class CL >
void stringstream_add_on_binder (CL &cl)
 
template<typename , typename... Args>
void set_add_on_binder_maybe_has_insertion_operator (const Args &...)
 
template<typename T , typename C , typename = typename std::enable_if< has_insertion_operator_s<T>::value >::type>
void set_add_on_binder_maybe_has_insertion_operator (C &cl)
 
template<typename T >
void set_add_on_binder (pybind11::class_< std::set< T >, std::shared_ptr< std::set< T > > > &cl)
 
template<typename , typename... Args>
void list_add_on_binder_maybe_has_equal_operator (const Args &...)
 
template<typename T , typename C , typename = typename std::enable_if< has_equal_operator_s<T>::value >::type>
void list_add_on_binder_maybe_has_equal_operator (C &cl)
 
template<typename , typename... Args>
void list_add_on_binder_maybe_has_insertion_operator (const Args &...)
 
template<typename T , typename C , typename = typename std::enable_if< has_insertion_operator_s<T>::value >::type>
void list_add_on_binder_maybe_has_insertion_operator (C &cl)
 
template<typename T >
void list_add_on_binder (pybind11::class_< std::list< T >, std::shared_ptr< std::list< T > > > &cl)
 

Typedef Documentation

template<typename T , typename A >
using rosetta_binders::vector0_binder = typedef utility_vector_binder<utility::vector0<T, A>, 0, T, A>
template<typename T , typename A >
using rosetta_binders::vector1_binder = typedef utility_vector_binder<utility::vector1<T, A>, 1, T, A>
template<platform::SSize L, typename T , typename A >
using rosetta_binders::vectorL_binder = typedef utility_vector_binder<utility::vectorL<L, T, A>, L, T, A>

Function Documentation

template<typename T >
constexpr auto rosetta_binders::has_equal_operator ( int  ) -> decltype(std::is_same<std::true_type, decltype(std::declval<T>() == std::declval<T>())>::value and std::is_same<std::true_type, decltype(std::declval<T>() != std::declval<T>())>::value)
template<typename T >
constexpr bool rosetta_binders::has_equal_operator (   ...)
template<typename T >
constexpr bool rosetta_binders::has_insertion_operator ( )

References value.

template<typename T >
void rosetta_binders::list_add_on_binder ( pybind11::class_< std::list< T >, std::shared_ptr< std::list< T > > > &  cl)
template<typename , typename... Args>
void rosetta_binders::list_add_on_binder_maybe_has_equal_operator ( const Args &  ...)
template<typename T , typename C , typename = typename std::enable_if< has_equal_operator_s<T>::value >::type>
void rosetta_binders::list_add_on_binder_maybe_has_equal_operator ( C cl)
template<typename , typename... Args>
void rosetta_binders::list_add_on_binder_maybe_has_insertion_operator ( const Args &  ...)
template<typename T , typename C , typename = typename std::enable_if< has_insertion_operator_s<T>::value >::type>
void rosetta_binders::list_add_on_binder_maybe_has_insertion_operator ( C cl)
template<typename T >
void rosetta_binders::set_add_on_binder ( pybind11::class_< std::set< T >, std::shared_ptr< std::set< T > > > &  cl)
template<typename , typename... Args>
void rosetta_binders::set_add_on_binder_maybe_has_insertion_operator ( const Args &  ...)
template<typename T , typename C , typename = typename std::enable_if< has_insertion_operator_s<T>::value >::type>
void rosetta_binders::set_add_on_binder_maybe_has_insertion_operator ( C cl)
template<class CL >
void rosetta_binders::stringstream_add_on_binder ( CL &  cl)
template<typename T >
void rosetta_binders::xyzMatrix_add_on_binder ( pybind11::class_< numeric::xyzMatrix< T >, std::shared_ptr< numeric::xyzMatrix< T > > > &  cl)
template<typename T >
void rosetta_binders::xyzVector_add_on_binder ( pybind11::class_< numeric::xyzVector< T >, std::shared_ptr< numeric::xyzVector< T > > > &  cl)