6#ifndef _ZFI_ZFCoreUtilAutoPtr_h_
7#define _ZFI_ZFCoreUtilAutoPtr_h_
18#define zfcleanupInScope_1(action \
21 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
23 ZFUniqueName(zfcleanupInScope_T)(P0 &p0) \
26 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
31 } ZFUniqueName(zfcleanupInScope_)(p0)
33#define zfcleanupInScope_2(action \
37 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
39 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
45 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
51 } ZFUniqueName(zfcleanupInScope_)(p0 \
55#define zfcleanupInScope_3(action \
60 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
62 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
70 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
77 } ZFUniqueName(zfcleanupInScope_)(p0 \
82#define zfcleanupInScope_4(action \
88 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
90 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
100 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
108 } ZFUniqueName(zfcleanupInScope_)(p0 \
114#define zfcleanupInScope_5(action \
121 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
123 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
135 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
144 } ZFUniqueName(zfcleanupInScope_)(p0 \
151#define zfcleanupInScope_6(action \
159 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
161 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
175 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
185 } ZFUniqueName(zfcleanupInScope_)(p0 \
193#define zfcleanupInScope_7(action \
202 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
204 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
220 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
231 } ZFUniqueName(zfcleanupInScope_)(p0 \
240#define zfcleanupInScope_8(action \
250 zfclassLikePOD ZFUniqueName(zfcleanupInScope_T) { \
252 ZFUniqueName(zfcleanupInScope_T)(P0 &p0 \
270 ~ZFUniqueName(zfcleanupInScope_T)(void) { \
282 } ZFUniqueName(zfcleanupInScope_)(p0 \
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98