Smart pointer that owns a GObject. More...
Public Member Functions | |
| void | reset () |
| resets pointer. | |
| void | swap (gptr &b) noexcept |
| swaps pointees. | |
| unsigned int | useCount () const noexcept |
| returns number of references of pointee. | |
| T * | get () const noexcept |
| returns pointee. | |
| operator T * () const noexcept | |
| implicit type conversion: returns pointee. | |
| T * | operator-> () const noexcept |
| dereference: returns pointee. | |
| T & | operator* () const noexcept |
| dereference: returns reference to pointee. | |
| auto | operator~ () const |
| returns reference for Active Expressions (GExpr). | |
| bool | operator! () const noexcept |
| returns false if pointee is null. | |
| auto & | operator++ (int) const |
| increments then returns value of pointee. | |
| auto & | operator-- (int) const |
| decrements then returns value of pointee. | |
| auto & | operator<< (const char *child) const |
| adds Gadget or Prop to pointee. | |
| template<typename C > | |
| auto & | operator<<= (C &from) |
| binds pointee. | |
| template<typename C > | |
| auto & | operator>> (C &to) |
| create state transition. | |
Smart pointer that owns a GObject.
GObject for details on automatic memory management.
1.8.4