Lines Matching refs:object
22 // AutoDelete automatically deletes the AClass object.
28 // Use Release() to prevent deletion of AClass object.
39 // Deletes the object if it owns it
49 // Sets the object the class owns
50 AutoDelete(Tp* object = NULL) : fObject(object), fOwnsObject(true) { }
52 // Deletes the object if it owns it
58 // Sets the object the class owns.
59 // Deletes a previously owned object and
60 // sets the owning flag for the new object.
61 void Set(Tp* object)
63 if (fObject == object) return;
67 fObject = object;
70 // Returns the object
76 // Returns the object and sets owning to false
77 // The Get method can still be used to retrieve the object.