Classes | Namespaces | Enumerations | Functions
test_constants_and_functions.cpp File Reference
#include "pybind11_tests.h"
Include dependency graph for test_constants_and_functions.cpp:

Go to the source code of this file.

Classes

struct  test_exc_sp::C
 

Namespaces

 test_exc_sp
 

Enumerations

enum  MyEnum { EFirstEntry = 1, ESecondEntry }
 

Functions

int test_exc_sp::f1 (int x) noexcept
 
int test_exc_sp::f2 (int x) noexcept(true)
 
int test_exc_sp::f3 (int x) noexcept(false)
 
int test_exc_sp::f4 (int x) throw ()
 
std::string print_bytes (const py::bytes &bytes)
 
py::bytes return_bytes ()
 
std::string test_function1 ()
 
std::string test_function2 (MyEnum k)
 
std::string test_function3 (int i)
 
py::str test_function4 ()
 
py::str test_function4 (char *)
 
py::str test_function4 (int, float)
 
py::str test_function4 (float, int)
 
 TEST_SUBMODULE (constants_and_functions, m)
 

Enumeration Type Documentation

◆ MyEnum

enum MyEnum
Enumerator
EFirstEntry 
ESecondEntry 

Definition at line 13 of file test_constants_and_functions.cpp.

Function Documentation

◆ print_bytes()

std::string print_bytes ( const py::bytes &  bytes)

Definition at line 31 of file test_constants_and_functions.cpp.

◆ return_bytes()

py::bytes return_bytes ( )

Definition at line 26 of file test_constants_and_functions.cpp.

◆ test_function1()

std::string test_function1 ( )

Definition at line 15 of file test_constants_and_functions.cpp.

◆ test_function2()

std::string test_function2 ( MyEnum  k)

Definition at line 17 of file test_constants_and_functions.cpp.

◆ test_function3()

std::string test_function3 ( int  i)

Definition at line 19 of file test_constants_and_functions.cpp.

◆ test_function4() [1/4]

py::str test_function4 ( )

Definition at line 21 of file test_constants_and_functions.cpp.

◆ test_function4() [2/4]

py::str test_function4 ( char *  )

Definition at line 22 of file test_constants_and_functions.cpp.

◆ test_function4() [3/4]

py::str test_function4 ( int  ,
float   
)

Definition at line 23 of file test_constants_and_functions.cpp.

◆ test_function4() [4/4]

py::str test_function4 ( float  ,
int   
)

Definition at line 24 of file test_constants_and_functions.cpp.

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( constants_and_functions  ,
m   
)

Definition at line 85 of file test_constants_and_functions.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55