ZFFramework
Loading...
Searching...
No Matches
ZFSourceCodeMap.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFSourceCodeMap_h_
7#define _ZFI_ZFSourceCodeMap_h_
8
9#include "ZFObject.h"
11
24
25
27public:
32public:
34 zfbool operator == (ZF_IN Info const &ref) const {
35 return zftrue
36 && this->pathInfo == ref.pathInfo
37 && this->line == ref.line
38 ;
39 }
40 zfbool operator != (ZF_IN Info const &ref) const {
41 return !this->operator == (ref);
42 }
44};
46
47
51
52// ============================================================
55 , ZFMP_IN(const zfstring &, v)
56 , ZFMP_IN(const Info &, info)
57 )
60 , ZFMP_IN(const zfstring &, v)
61 , ZFMP_IN(const Info &, info)
62 )
65 , ZFMP_IN(const zfstring &, v)
66 )
67
68// ============================================================
71 , ZFMP_IN(const ZFClass *, v)
72 , ZFMP_IN(const Info &, info)
73 )
76 , ZFMP_IN(const ZFClass *, v)
77 , ZFMP_IN(const Info &, info)
78 )
81 , ZFMP_IN(const ZFClass *, v)
82 )
83
84// ============================================================
87 , ZFMP_IN(const ZFMethod *, v)
88 , ZFMP_IN(const Info &, info)
89 )
92 , ZFMP_IN(const ZFMethod *, v)
93 , ZFMP_IN(const Info &, info)
94 )
97 , ZFMP_IN(const ZFMethod *, v)
98 )
99
101
103
105#endif // #ifndef _ZFI_ZFSourceCodeMap_h_
106
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define zfclassLikePOD
shows the class is not a POD type, but you may use it like a POD except memset it to 0
Definition ZFCoreTypeDef_ClassType.h:41
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:196
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFEXPORT_VAR_DECLARE(ZFLIB_, Type, Name)
util to export global variable
Definition ZFExport.h:68
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_2(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:763
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_BEGIN_REGISTER(NameSpace, ParentNameSpace)
begin and register namespace
Definition ZFNamespace.h:48
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_END(NameSpace)
end namespace
Definition ZFNamespace.h:60
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define ZF_NAMESPACE_GLOBAL
namespace of ZFFramework
Definition ZFNamespace.h:96
ZFObject related include.
#define ZFTYPEID_ACCESS_ONLY_REG(ZFLIB_, TypeName, Type,...)
see ZFTYPEID_DECLARE
Definition ZFTypeIdDeclare.h:205
#define ZFTYPEID_ACCESS_ONLY_DECLARE(ZFLIB_, TypeName, Type)
see ZFTYPEID_DECLARE
Definition ZFTypeIdDeclare.h:195
ZFObject's class info.
Definition ZFClass.h:63
light weight array
Definition ZFCoreArray.h:292
reflectable method for ZFObject
Definition ZFMethod.h:252
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:34
info for ZFSourceCodeMap
Definition ZFSourceCodeMap.h:26
ZFPathInfo pathInfo
position
Definition ZFSourceCodeMap.h:29
zfindex line
line
Definition ZFSourceCodeMap.h:31
source code map for debug use only
Definition ZFSourceCodeMap.h:23
zfbool & Enable(void)
whether source code map should be enabled
Definition ZFSourceCodeMap.h:50
void attachNamespace(const zfstring &v, const Info &info)
see ZFSourceCodeMap
ZFCoreArray< Info > checkClass(const ZFClass *v)
see ZFSourceCodeMap
void detachNamespace(const zfstring &v, const Info &info)
see ZFSourceCodeMap
void detachMethod(const ZFMethod *v, const Info &info)
see ZFSourceCodeMap
void detachClass(const ZFClass *v, const Info &info)
see ZFSourceCodeMap
ZFCoreArray< Info > checkNamespace(const zfstring &v)
see ZFSourceCodeMap
ZFCoreArray< Info > checkMethod(const ZFMethod *v)
see ZFSourceCodeMap
void attachClass(const ZFClass *v, const Info &info)
see ZFSourceCodeMap
void attachMethod(const ZFMethod *v, const Info &info)
see ZFSourceCodeMap