Loading...
Searching...
No Matches
pyhpp::core::Builder< Type, TypePtr_t > Struct Template Reference

Public Member Functions

 Builder (PyObject *_callable)
 
 ~Builder ()
 

Static Public Member Functions

static TypePtr_t call2 (PyObject *c, const hpp::core::ProblemConstPtr_t &p)
 
template<typename T >
static void add_to_container (hpp::core::Container< T > &c, const std::string &key, PyObject *callable)
 

Public Attributes

PyObject * callable
 

Constructor & Destructor Documentation

◆ Builder()

template<typename Type , typename TypePtr_t = hpp::shared_ptr<Type>>
pyhpp::core::Builder< Type, TypePtr_t >::Builder ( PyObject *  _callable)
inline

◆ ~Builder()

template<typename Type , typename TypePtr_t = hpp::shared_ptr<Type>>
pyhpp::core::Builder< Type, TypePtr_t >::~Builder ( )
inline

Member Function Documentation

◆ add_to_container()

template<typename Type , typename TypePtr_t = hpp::shared_ptr<Type>>
template<typename T >
static void pyhpp::core::Builder< Type, TypePtr_t >::add_to_container ( hpp::core::Container< T > &  c,
const std::string &  key,
PyObject *  callable 
)
inlinestatic

◆ call2()

template<typename Type , typename TypePtr_t = hpp::shared_ptr<Type>>
static TypePtr_t pyhpp::core::Builder< Type, TypePtr_t >::call2 ( PyObject *  c,
const hpp::core::ProblemConstPtr_t &  p 
)
inlinestatic

Member Data Documentation

◆ callable

template<typename Type , typename TypePtr_t = hpp::shared_ptr<Type>>
PyObject* pyhpp::core::Builder< Type, TypePtr_t >::callable

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