#include <string.h>
#include <wx/general/a2dlist.h>


Go to the source code of this file.
Classes | |
| class | a2dSmrtPtrBase |
| A trivial base class for a2dSmrtPtr. Non-template class, so that it can. More... | |
| class | a2dSmrtPtr< Clss > |
| A pointer class, that automatically calls SmrtPtrOwn/SmrtPtrRelease. More... | |
| class | a2dAutoZeroPtr< Clss > |
| A pointer class, that is automatically set to 0 if the target is deleted. More... | |
| class | a2dDumbPtr< Clss > |
| A pointer class, that does not call SmrtPtrOwn/SmrtPtrRelease, but initializes to 0. More... | |
| class | a2dSmrtPtrList< T > |
| A list class for reference counted objects. More... | |
Defines | |
| #define | __A2DONLYFILE__(fname) (strchr(fname,'\\') ? strrchr(fname,'\\')+1 : fname) |
| #define | __A2DFILE__ __A2DONLYFILE__(__FILE__) |
| #define | a2dDECLARE_GLOBAL_VAR(type, var) type var |
| #define | a2dDECLARE_GLOBAL_ITEM(type, var, item) type var(item) |
| #define | a2dDECLARE_LOCAL_ITEM(type, var, item) type var(item) |
Smart pointers are used all over wxDocview, and the a2dObject from which most classes are derived (in)directly is for that reason reference counted.
Licence: wxWidgets Licence
RCS-ID:
Definition in file smrtptr.h.