Classes | Macros | Functions
test_factory_constructors.cpp File Reference
#include "constructor_stats.h"
#include "pybind11_tests.h"
#include <cmath>
#include <new>
#include <utility>
Include dependency graph for test_factory_constructors.cpp:

Go to the source code of this file.

Classes

class  PyTF6
 
class  PyTF7
 
class  TestFactory1
 
class  TestFactory2
 
class  TestFactory3
 
class  TestFactory4
 
class  TestFactory5
 
class  TestFactory6
 
class  TestFactory7
 
class  TestFactoryHelper
 

Macros

#define MAKE_TAG_TYPE(Name)
 

Functions

 TEST_SUBMODULE (factory_constructors, m)
 

Macro Definition Documentation

◆ MAKE_TAG_TYPE

#define MAKE_TAG_TYPE (   Name)
Value:
struct Name##_tag {}; \
py::class_<Name##_tag>(m_tag, #Name "_tag").def(py::init<>()); \
m_tag.attr(#Name) = py::cast(Name##_tag{})
EIGEN_DEVICE_FUNC NewType cast(const OldType &x)

Function Documentation

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( factory_constructors  ,
m   
)

Definition at line 205 of file test_factory_constructors.cpp.



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