Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
greenlet::refs::OwnedReference< T, TC > Class Template Reference
Inheritance diagram for greenlet::refs::OwnedReference< T, TC >:
Inheritance graph
[legend]
Collaboration diagram for greenlet::refs::OwnedReference< T, TC >:
Collaboration graph
[legend]

Public Member Functions

 OwnedReference (const PyObjectPointer<> &other)
 
 OwnedReference (const OwnedReference< T, TC > &other)
 
OwnedReference< T, TC > & operator= (const OwnedReference< T, TC > &other)
 
OwnedReference< T, TC > & operator= (const BorrowedReference< T, TC > other)
 
OwnedReference< T, TC > & operator= (T *const other)
 
template<typename X , TypeChecker XC>
OwnedReference< T, TC > & operator= (const OwnedReference< X, XC > &other)
 
void steal (T *other)
 
T * relinquish_ownership ()
 
T * acquire () const
 
void CLEAR ()
 
- Public Member Functions inherited from greenlet::refs::PyObjectPointer< T, TC >
 PyObjectPointer (T *it=nullptr)
 
T * borrow () const noexcept
 
PyObject * borrow_o () const noexcept
 
T * operator-> () const noexcept
 
bool is_None () const noexcept
 
PyObject * acquire_or_None () const noexcept
 
 operator bool () const noexcept
 
bool operator! () const noexcept
 
Py_ssize_t REFCNT () const noexcept
 
PyTypeObject * TYPE () const noexcept
 
OwnedObject PyStr () const noexcept
 
const std::string as_str () const noexcept
 
OwnedObject PyGetAttr (const ImmortalObject &name) const noexcept
 
OwnedObject PyRequireAttr (const char *const name) const
 
OwnedObject PyRequireAttr (const ImmortalString &name) const
 
OwnedObject PyCall (const BorrowedObject &arg) const
 
OwnedObject PyCall (PyGreenlet *arg) const
 
OwnedObject PyCall (PyObject *arg) const
 
OwnedObject PyCall (const BorrowedObject args, const BorrowedObject kwargs) const
 
OwnedObject PyCall (const OwnedObject &args, const OwnedObject &kwargs) const
 

Static Public Member Functions

static OwnedReference< T, TC > consuming (PyObject *p)
 
static OwnedReference< T, TC > owning (T *p)
 
static OwnedReference< PyObject > None ()
 

Protected Member Functions

 OwnedReference (T *it)
 
- Protected Member Functions inherited from greenlet::refs::PyObjectPointer< T, TC >
void _set_raw_pointer (void *t)
 
void * _get_raw_pointer () const
 

Friends

class OwnedList
 

Additional Inherited Members

- Public Types inherited from greenlet::refs::PyObjectPointer< T, TC >
typedef T PyType
 
- Protected Attributes inherited from greenlet::refs::PyObjectPointer< T, TC >
T * p
 

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