commit 2025-08-19 01:17 add ZCppMain/ZtCSimList.H

This commit is contained in:
2025-08-19 01:17:45 +09:00
parent 89db873862
commit e6b7cea027
2 changed files with 2349 additions and 12 deletions

View File

@ -1515,7 +1515,7 @@ namespace ZNsMain
{
ZCLink* VP_LoopLink=mp_HeadLink;
__for0(int, i, ml_Size)
__for0(TypeSize, i, ml_Size)
{
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)(VP_LoopLink->mo_Type);
@ -1524,7 +1524,7 @@ namespace ZNsMain
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*
__for0(int, i, ml_Size)*/
__for0(TypeSize, i, ml_Size)*/
}/*
template<typename TFunctor> void IterElement(TFunctor AO_Functor) */
@ -1557,7 +1557,7 @@ namespace ZNsMain
ZCLink* VP_LoopLink=mp_HeadLink;
__for0(int, i, ml_Size)
__for0(TypeSize, i, ml_Size)
{
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
(
@ -1573,7 +1573,7 @@ namespace ZNsMain
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*
__for0(int, i, ml_Size)*/
__for0(TypeSize, i, ml_Size)*/
}/*
template<typename TFunctor, typename TTypeHelp>
void IterElement(TFunctor AO_Functor, TTypeHelp AO_TypeHelp) */
@ -1614,7 +1614,7 @@ namespace ZNsMain
ZCLink* VP_LoopLink=mp_HeadLink;
__for0(int, i, ml_Size)
__for0(TypeSize, i, ml_Size)
{
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
(
@ -1629,7 +1629,7 @@ namespace ZNsMain
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*
__for0(int, i, ml_Size)*/
__for0(TypeSize, i, ml_Size)*/
}/*
template
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
@ -1647,14 +1647,14 @@ namespace ZNsMain
ZCLink* VP_LoopLink=mp_HeadLink;
__for0(int, i, ml_Size)
__for0(TypeSize, i, ml_Size)
{
ZtCTypeData<TFunctor>::GetObjRef
(AO_Functor)(VP_LoopLink->mo_Type, AR_TypeHelp);
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*
__for0(int, i, ml_Size)*/
__for0(TypeSize, i, ml_Size)*/
}/*
template<typename TFunctor, typename TTypeHelp>
void IterElemRef(TFunctor AO_Functor, TTypeHelp& AR_TypeHelp) */
@ -1672,14 +1672,14 @@ namespace ZNsMain
ZCLink* VP_LoopLink=mp_HeadLink;
__for0(int, i, ml_Size)
__for0(TypeSize, i, ml_Size)
{
ZtCTypeData<TFunctor>::GetObjRef(AO_Functor)
( VP_LoopLink->mo_Type, AR_TypeHelp1, AR_TypeHelp2 );
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*
__for0(int, i, ml_Size)*/
__for0(TypeSize, i, ml_Size)*/
}/*
template
<typename TFunctor, typename TTypeHelp1, typename TTypeHelp2> ###############
@ -2305,7 +2305,7 @@ namespace ZNsMain
}
public:
}; CHelpObj VO_CHelpObj; cout<<"VO_CHelpObj Ptr : "<<&VO_CHelpObj<<endl;
};
struct StFunctor
@ -2405,7 +2405,9 @@ namespace ZNsMain
static void ShowElement(int ArgiValue, CHelpObj& AR_CHelpObj, CHelpObj AO_CHelpObj2)
{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;

2335
ZCppMain/ZtCSimList.H Normal file

File diff suppressed because it is too large Load Diff