Home | History | Annotate | Download | only in xcore

Lines Matching defs:SmartPtr

35     RefObj (): _ref_count(0) {} // derived class must set to SmartPtr at birth
81 class SmartPtr {
83 template<typename ObjDerive> friend class SmartPtr;
85 SmartPtr (Obj *obj = NULL)
93 SmartPtr (ObjDerive *obj)
101 SmartPtr (const SmartPtr<Obj> &obj)
111 SmartPtr (const SmartPtr<ObjDerive> &obj)
120 ~SmartPtr () {
125 SmartPtr<Obj> & operator = (Obj *obj) {
132 SmartPtr<Obj> & operator = (ObjDerive *obj) {
138 SmartPtr<Obj> & operator = (const SmartPtr<Obj> &obj) {
145 SmartPtr<Obj> & operator = (const SmartPtr<ObjDerive> &obj) {
178 SmartPtr<ObjDerive> dynamic_cast_ptr () const {
179 SmartPtr<ObjDerive> ret(NULL);