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
30
31
33public:
38public:
40 zfbool operator == (ZF_IN Info const &ref) const {
41 return zftrue
42 && this->pathInfo == ref.pathInfo
43 && this->line == ref.line
44 ;
45 }
46 zfbool operator != (ZF_IN Info const &ref) const {
47 return !this->operator == (ref);
48 }
50};
52
53
57
58// ============================================================
61 , ZFMP_IN(const zfstring &, v)
62 , ZFMP_IN(const Info &, info)
63 )
66 , ZFMP_IN(const zfstring &, v)
67 , ZFMP_IN(const Info &, info)
68 )
71 , ZFMP_IN(const zfstring &, v)
72 )
73
74// ============================================================
77 , ZFMP_IN(const ZFClass *, v)
78 , ZFMP_IN(const Info &, info)
79 )
82 , ZFMP_IN(const ZFClass *, v)
83 , ZFMP_IN(const Info &, info)
84 )
87 , ZFMP_IN(const ZFClass *, v)
88 )
89
90// ============================================================
93 , ZFMP_IN(const ZFMethod *, v)
94 , ZFMP_IN(const Info &, info)
95 )
98 , ZFMP_IN(const ZFMethod *, v)
99 , ZFMP_IN(const Info &, info)
103 , ZFMP_IN(const ZFMethod *, v)
105
107
109
111#endif // #ifndef _ZFI_ZFSourceCodeMap_h_
112
#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:297
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:32
ZFPathInfo pathInfo
position
Definition ZFSourceCodeMap.h:35
zfindex line
line
Definition ZFSourceCodeMap.h:37
source code map for debug use only
Definition ZFSourceCodeMap.h:29
zfbool & Enable(void)
whether source code map should be enabled
Definition ZFSourceCodeMap.h:56
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