Rosetta
Classes | Typedefs | Functions
T02.function.hpp File Reference

Binder self-test file. Bindings for functions. More...

#include <functional>
#include <memory>
#include <string>

Classes

class  A< T >
 

Typedefs

using function_type = void()
 
using function_pointer = void(*)()
 
using function_reference = void(&)()
 

Functions

void foo (bool)
 
void foo (int)
 
void foo (long)
 
void foo (float)
 
void foo (double)
 
void foo (A)
 
void foo (std::shared_ptr< A >)
 
void foo_r (bool &)
 
void foo_r (int &)
 
void foo_r (long &)
 
void foo_r (float &)
 
void foo_r (double &)
 
void foo_r (A &)
 
void foo_r (std::shared_ptr< A > &)
 
void foo_r_not_binded (std::pair< int, int > &)
 
void foo_r_not_binded (std::tuple< int, int > &)
 
void foo_cr (bool const &)
 
void foo_cr (int const &)
 
void foo_cr (long const &)
 
void foo_cr (float const &)
 
void foo_cr (double const &)
 
void foo_cr (A const &)
 
void foo_cr (std::shared_ptr< A > const &)
 
void foo_cr (std::shared_ptr< A const > const &)
 
void foo_cr (std::pair< int, int > const &)
 
void foo_cr (std::tuple< int, int > const &)
 
void foo_p (bool *)
 
void foo_p (int *)
 
void foo_p (long *)
 
void foo_p (float *)
 
void foo_p (double *)
 
void foo_p (A *)
 
void foo_p (std::shared_ptr< A > *)
 
void foo_p_not_binded (std::pair< int, int > *)
 
void foo_p_not_binded (std::tuple< int, int > *)
 
void foo_cp_not_binded (std::pair< int, int > const *)
 
void foo_cp_not_binded (std::tuple< int, int > const *)
 
void foo_f1 (std::function< bool(std::string const &) > const &f)
 
void foo_f2 (std::function< function_pointer(void) > const &f)
 
void foo_f3 (std::function< bool(function_pointer *, int(&)[1]) > const &f)
 
void foo_f4_not_binded (function_pointer)
 
void foo_f5 (function_reference)
 
void foo_f7 (function_reference &)
 
void foo_f8 (function_type &f)
 
void foo_f9 (function_type *f)
 

Detailed Description

Binder self-test file. Bindings for functions.

Author
Sergey Lyskov

Typedef Documentation

◆ function_pointer

using function_pointer = void (*)()

◆ function_reference

using function_reference = void (&)()

◆ function_type

using function_type = void()

Function Documentation

◆ foo() [1/7]

void foo ( A  )

◆ foo() [2/7]

void foo ( bool  )

◆ foo() [3/7]

void foo ( double  )

◆ foo() [4/7]

void foo ( float  )

◆ foo() [5/7]

void foo ( int  )

◆ foo() [6/7]

void foo ( long  )

◆ foo() [7/7]

void foo ( std::shared_ptr< A )

◆ foo_cp_not_binded() [1/2]

void foo_cp_not_binded ( std::pair< int, int > const *  )

◆ foo_cp_not_binded() [2/2]

void foo_cp_not_binded ( std::tuple< int, int > const *  )

◆ foo_cr() [1/10]

void foo_cr ( A const &  )

◆ foo_cr() [2/10]

void foo_cr ( bool const &  )

Referenced by bind_T02_function().

◆ foo_cr() [3/10]

void foo_cr ( double const &  )

◆ foo_cr() [4/10]

void foo_cr ( float const &  )

◆ foo_cr() [5/10]

void foo_cr ( int const &  )

◆ foo_cr() [6/10]

void foo_cr ( long const &  )

◆ foo_cr() [7/10]

void foo_cr ( std::pair< int, int > const &  )

◆ foo_cr() [8/10]

void foo_cr ( std::shared_ptr< A > const &  )

◆ foo_cr() [9/10]

void foo_cr ( std::shared_ptr< A const > const &  )

◆ foo_cr() [10/10]

void foo_cr ( std::tuple< int, int > const &  )

◆ foo_f1()

void foo_f1 ( std::function< bool(std::string const &) > const &  f)

◆ foo_f2()

void foo_f2 ( std::function< function_pointer(void) > const &  f)

Referenced by bind_T02_function().

◆ foo_f3()

void foo_f3 ( std::function< bool(function_pointer *, int(&)[1]) > const &  f)

Referenced by bind_T02_function().

◆ foo_f4_not_binded()

void foo_f4_not_binded ( function_pointer  )

◆ foo_f5()

void foo_f5 ( function_reference  )

Referenced by bind_T02_function().

◆ foo_f7()

void foo_f7 ( function_reference )

Referenced by bind_T02_function().

◆ foo_f8()

void foo_f8 ( function_type f)

Referenced by bind_T02_function().

◆ foo_f9()

void foo_f9 ( function_type f)

◆ foo_p() [1/7]

void foo_p ( A )

◆ foo_p() [2/7]

void foo_p ( bool *  )

Referenced by bind_T02_function().

◆ foo_p() [3/7]

void foo_p ( double )

◆ foo_p() [4/7]

void foo_p ( float *  )

◆ foo_p() [5/7]

void foo_p ( int *  )

◆ foo_p() [6/7]

void foo_p ( long *  )

◆ foo_p() [7/7]

void foo_p ( std::shared_ptr< A > *  )

◆ foo_p_not_binded() [1/2]

void foo_p_not_binded ( std::pair< int, int > *  )

◆ foo_p_not_binded() [2/2]

void foo_p_not_binded ( std::tuple< int, int > *  )

◆ foo_r() [1/7]

void foo_r ( A )

◆ foo_r() [2/7]

void foo_r ( bool &  )

Referenced by bind_T02_function().

◆ foo_r() [3/7]

void foo_r ( double )

◆ foo_r() [4/7]

void foo_r ( float &  )

◆ foo_r() [5/7]

void foo_r ( int &  )

◆ foo_r() [6/7]

void foo_r ( long &  )

◆ foo_r() [7/7]

void foo_r ( std::shared_ptr< A > &  )

◆ foo_r_not_binded() [1/2]

void foo_r_not_binded ( std::pair< int, int > &  )

◆ foo_r_not_binded() [2/2]

void foo_r_not_binded ( std::tuple< int, int > &  )