commit 2025-08-19 01:17 add ZCppMain/ZtCSimList.H
This commit is contained in:
@ -1515,7 +1515,7 @@ namespace ZNsMain
|
|||||||
{
|
{
|
||||||
ZCLink* VP_LoopLink=mp_HeadLink;
|
ZCLink* VP_LoopLink=mp_HeadLink;
|
||||||
|
|
||||||
__for0(int, i, ml_Size)
|
__for0(TypeSize, i, ml_Size)
|
||||||
{
|
{
|
||||||
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)(VP_LoopLink->mo_Type);
|
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)(VP_LoopLink->mo_Type);
|
||||||
|
|
||||||
@ -1524,7 +1524,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
||||||
}/*
|
}/*
|
||||||
__for0(int, i, ml_Size)*/
|
__for0(TypeSize, i, ml_Size)*/
|
||||||
}/*
|
}/*
|
||||||
template<typename TFunctor> void IterElement(TFunctor AO_Functor) */
|
template<typename TFunctor> void IterElement(TFunctor AO_Functor) */
|
||||||
|
|
||||||
@ -1557,7 +1557,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
ZCLink* VP_LoopLink=mp_HeadLink;
|
ZCLink* VP_LoopLink=mp_HeadLink;
|
||||||
|
|
||||||
__for0(int, i, ml_Size)
|
__for0(TypeSize, i, ml_Size)
|
||||||
{
|
{
|
||||||
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
||||||
(
|
(
|
||||||
@ -1573,7 +1573,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
||||||
}/*
|
}/*
|
||||||
__for0(int, i, ml_Size)*/
|
__for0(TypeSize, i, ml_Size)*/
|
||||||
}/*
|
}/*
|
||||||
template<typename TFunctor, typename TTypeHelp>
|
template<typename TFunctor, typename TTypeHelp>
|
||||||
void IterElement(TFunctor AO_Functor, TTypeHelp AO_TypeHelp) */
|
void IterElement(TFunctor AO_Functor, TTypeHelp AO_TypeHelp) */
|
||||||
@ -1614,7 +1614,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
ZCLink* VP_LoopLink=mp_HeadLink;
|
ZCLink* VP_LoopLink=mp_HeadLink;
|
||||||
|
|
||||||
__for0(int, i, ml_Size)
|
__for0(TypeSize, i, ml_Size)
|
||||||
{
|
{
|
||||||
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
||||||
(
|
(
|
||||||
@ -1629,7 +1629,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
||||||
}/*
|
}/*
|
||||||
__for0(int, i, ml_Size)*/
|
__for0(TypeSize, i, ml_Size)*/
|
||||||
}/*
|
}/*
|
||||||
template
|
template
|
||||||
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
|
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
|
||||||
@ -1647,14 +1647,14 @@ namespace ZNsMain
|
|||||||
|
|
||||||
ZCLink* VP_LoopLink=mp_HeadLink;
|
ZCLink* VP_LoopLink=mp_HeadLink;
|
||||||
|
|
||||||
__for0(int, i, ml_Size)
|
__for0(TypeSize, i, ml_Size)
|
||||||
{
|
{
|
||||||
ZtCTypeData<TFunctor>::GetObjRef
|
ZtCTypeData<TFunctor>::GetObjRef
|
||||||
(AO_Functor)(VP_LoopLink->mo_Type, AR_TypeHelp);
|
(AO_Functor)(VP_LoopLink->mo_Type, AR_TypeHelp);
|
||||||
|
|
||||||
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
||||||
}/*
|
}/*
|
||||||
__for0(int, i, ml_Size)*/
|
__for0(TypeSize, i, ml_Size)*/
|
||||||
}/*
|
}/*
|
||||||
template<typename TFunctor, typename TTypeHelp>
|
template<typename TFunctor, typename TTypeHelp>
|
||||||
void IterElemRef(TFunctor AO_Functor, TTypeHelp& AR_TypeHelp) */
|
void IterElemRef(TFunctor AO_Functor, TTypeHelp& AR_TypeHelp) */
|
||||||
@ -1672,14 +1672,14 @@ namespace ZNsMain
|
|||||||
|
|
||||||
ZCLink* VP_LoopLink=mp_HeadLink;
|
ZCLink* VP_LoopLink=mp_HeadLink;
|
||||||
|
|
||||||
__for0(int, i, ml_Size)
|
__for0(TypeSize, i, ml_Size)
|
||||||
{
|
{
|
||||||
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
|
||||||
( VP_LoopLink->mo_Type, AR_TypeHelp1, AR_TypeHelp2 );
|
( VP_LoopLink->mo_Type, AR_TypeHelp1, AR_TypeHelp2 );
|
||||||
|
|
||||||
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
VP_LoopLink = VP_LoopLink->mp_NextLink ;
|
||||||
}/*
|
}/*
|
||||||
__for0(int, i, ml_Size)*/
|
__for0(TypeSize, i, ml_Size)*/
|
||||||
}/*
|
}/*
|
||||||
template
|
template
|
||||||
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
|
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
|
||||||
@ -2305,7 +2305,7 @@ namespace ZNsMain
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
}; CHelpObj VO_CHelpObj; cout<<"VO_CHelpObj Ptr : "<<&VO_CHelpObj<<endl;
|
};
|
||||||
|
|
||||||
|
|
||||||
struct StFunctor
|
struct StFunctor
|
||||||
@ -2405,7 +2405,9 @@ namespace ZNsMain
|
|||||||
static void ShowElement(int ArgiValue, CHelpObj& AR_CHelpObj, CHelpObj AO_CHelpObj2)
|
static void ShowElement(int ArgiValue, CHelpObj& AR_CHelpObj, CHelpObj AO_CHelpObj2)
|
||||||
{cout<<"#6 Value="<<ArgiValue<<", HelpObj Ptr="<<&AR_CHelpObj<<" With CHelpObj Half Ref"<<endl;}
|
{cout<<"#6 Value="<<ArgiValue<<", HelpObj Ptr="<<&AR_CHelpObj<<" With CHelpObj Half Ref"<<endl;}
|
||||||
};
|
};
|
||||||
#endif //_WIN
|
#else //!defined(_WIN)
|
||||||
|
CHelpObj VO_CHelpObj; cout<<"VO_CHelpObj Ptr : "<<&VO_CHelpObj<<endl;
|
||||||
|
#endif //!defined(_WIN)
|
||||||
|
|
||||||
|
|
||||||
cout<<endl<<"#### Show CObjList Element ####"<<endl<<endl;
|
cout<<endl<<"#### Show CObjList Element ####"<<endl<<endl;
|
||||||
|
2335
ZCppMain/ZtCSimList.H
Normal file
2335
ZCppMain/ZtCSimList.H
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user