![]() |
|
A reimplementation of boost::python::detail::method_result. More...
Public Member Functions | |
TfPyMethodResult (TfPyMethodResult const &other) | |
Implement copy to do python refcounting while holding the GIL. More... | |
~TfPyMethodResult () | |
Implement dtor to do python refcounting while holding the GIL. More... | |
TfPyMethodResult & | operator= (TfPyMethodResult const &other) |
Implement assign to do python refcounting while holding the GIL. More... | |
template<class T > | |
operator T () | |
template<class T > | |
operator T & () const | |
template<class T > | |
T | as (boost::type< T > *=0) |
template<class T > | |
T | unchecked (boost::type< T > *=0) |
Friends | |
class | TfPyOverride |
Clients must hold GIL to construct. More... | |
A reimplementation of boost::python::detail::method_result.
This class is reimplemented from the boost class simply because the provided class only allows construction from it's friended class boost::python::override, which we also reimplement below.
Definition at line 45 of file pyOverride.h.
TfPyMethodResult | ( | TfPyMethodResult const & | other | ) |
Implement copy to do python refcounting while holding the GIL.
~TfPyMethodResult | ( | ) |
Implement dtor to do python refcounting while holding the GIL.
TfPyMethodResult& operator= | ( | TfPyMethodResult const & | other | ) |
Implement assign to do python refcounting while holding the GIL.
|
friend |
Clients must hold GIL to construct.
Definition at line 49 of file pyOverride.h.