Lines Matching defs:class
1 \section{\class{wxScopedPtr}}\label{wxscopedptr}
8 deleted when the smart pointer goes out of scope. This class is different from
11 surprizing than the ``destructive copy'' behaviour of the standard class.
19 class MyClass { /* ... */ };
28 // define the first pointer class, must be complete
30 // define the second pointer class
50 To declare the smart pointer class \texttt{CLASSNAME} containing pointes to a
55 CLASSNAME ); // name of the class
63 to implement the scoped pointer class.
66 of the new smart pointer class being created. Below we will use wxScopedPtr to
67 represent the scoped pointer class, but the user may create the class with any
71 definition of this class and if you accept the standard naming convention, that
72 is that the scoped pointer for the class \texttt{Foo} is called
154 swapped must be of the same type (hence the same class name).
160 \section{\class{wxScopedTiedPtr}}\label{wxscopedtiedptr}
163 class is also a smart pointer but in addition it ``ties'' the pointer value to
164 another variable. In other words, during the life time of this class the value
166 it is reset to its old value when the object is destroyed. This class is