cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | List of all members
kwargs_proxy Class Reference

#include <pytypes.h>

Inheritance diagram for kwargs_proxy:
handle

Public Member Functions

 kwargs_proxy (handle h)
 
- Public Member Functions inherited from handle
 handle ()=default
 The default constructor creates a handle with a nullptr-valued pointer. More...
 
 handle (PyObject *ptr)
 Creates a handle from the given raw Python object pointer. More...
 
PyObject * ptr () const
 Return the underlying PyObject * pointer. More...
 
PyObject *& ptr ()
 
const handleinc_ref () const &
 
const handledec_ref () const &
 
template<typename T >
cast () const
 
 operator bool () const
 Return true when the handle wraps a valid Python object. More...
 
bool operator== (const handle &h) const
 
bool operator!= (const handle &h) const
 
bool check () const
 
template<>
void cast () const
 

Additional Inherited Members

- Protected Attributes inherited from handle
PyObject * m_ptr = nullptr
 

Detailed Description

Definition at line 768 of file pytypes.h.

Constructor & Destructor Documentation

◆ kwargs_proxy()

kwargs_proxy::kwargs_proxy ( handle  h)
inlineexplicit

Definition at line 770 of file pytypes.h.


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