ZModeler provieds several templates with implementing of the most commonly used data types and dana management semantic.
| ZModeler templates: | |
|---|---|
| ZSequence | Sequence (or dynamic linear array) template. |
| ZCollection | Collection (or dynamic list) template. |
| ZIntrCollection | |
| ZPtr | Auto AddRef/Release interface pointer wrapper template. |
| ZStdPtr | Standard pointer wrapper template. |
| ZStdOwnPtr | Standard pointer that owns target memory block and calls delete to release it. |
| ZOwnWndPtr | Pointer to CWnd-derived class that owns a window and calls DestroyWindow to release it. |
| ZDlgItemPtr | Wrapper template to access dialog items. |
| ZBufPtr | Pointer to buffer template with delete[] release semantic. |