Lines Matching refs:smart
3 This is a simple scoped smart pointer implementation that is similar to
4 the \urlref{Boost}{http://www.boost.org/} smart pointers but rewritten to
7 A smart pointer holds a pointer to an object. The memory used by the object is
8 deleted when the smart pointer goes out of scope. This class is different from
15 Below is an example of using a wxWidgets scoped smart pointer and
21 // declare a smart pointer to a MyClass called wxMyClassPtr
23 // declare a smart pointer to an array of chars
48 \wxheading{Declaring new smart pointer types}
50 To declare the smart pointer class \texttt{CLASSNAME} containing pointes to a
66 of the new smart pointer class being created. Below we will use wxScopedPtr to
95 Creates the smart pointer with the given pointer or none if {\tt NULL}. On
110 Returns the currently hold pointer and resets the smart pointer object to
138 in the smart pointer or NULL if it is empty.
145 This operator gets the pointer stored in the smart pointer or returns NULL if
153 Swap the pointer inside the smart pointer with {\it other}. The pointer being
163 class is also a smart pointer but in addition it ``ties'' the pointer value to
168 the pointers value in some variable) to the smart pointers.
186 Constructor creates a smart pointer initialized with \arg{ptr} and stores