Pointer-traits for Python Shadow classes that use raw * pointers for storage.
More...
#include <pyshadow_object.h>

Classes | |
| struct | Rebind |
| Rebind pointer traits to other shadowee type. More... | |
Public Types | |
| typedef T * | TPtr |
| Pointer to shadowee type. | |
Static Public Member Functions | |
| static void | acquire (TPtr) |
| Raw pointers have no ownership rules. | |
| static void | release (TPtr) |
| Raw pointers have no ownership rules. | |
| static bool | isEmpty (TPtr p) |
| Return true when storing a nullptr. | |
| static T * | get (TPtr p) |
| Get the raw pointer to the shadowee. | |
| static TShadoweeID | id (TPtr p) |
| Convert shadowee pointer to ID for shadow cache. | |
| template<typename U> | |
| static TPtr | staticCast (U *p) |
| Perform static cast on shadowee pointer. | |
| template<typename U> | |
| static TPtr | dynamicCast (U *p) |
| Perform dynamic cast on shadowee pointer. | |
| template<typename U> | |
| static TPtr | constCast (U *p) |
| Perform const cast on shadowee pointer. | |
Pointer-traits for Python Shadow classes that use raw * pointers for storage.
Definition at line 551 of file pyshadow_object.h.