commit 2025-10-16 01:04 add ZtCBaseList::MoveLinkIn() & MoveRangeIn() ZCppMain/ZMainHead.H
This commit is contained in:
@ -367,6 +367,51 @@ namespace ZNsMain
|
||||
cout<<"*****************************************************"<<endl;
|
||||
|
||||
|
||||
VO_ListOfStr11.MoveLinkIn
|
||||
(
|
||||
*VO_ListOfStr11.GetLinkPtr(1)
|
||||
, *VO_ListOfStr11.GetLinkPtr(7)
|
||||
, true
|
||||
);
|
||||
cout<<"# list11 MoveLinkIn(1th, 7th, after)"<<endl;
|
||||
cout<<"# list11 IterElemLink ################"<<endl;
|
||||
VO_ListOfStr11.IterElemLink(&ShowNode1_3, ZftMCP(VI_CallCnt=0));
|
||||
|
||||
|
||||
VO_ListOfStr11.MoveLinkIn
|
||||
(
|
||||
*VO_ListOfStr11.GetLinkPtr(5)
|
||||
, *VO_ListOfStr11.GetLinkPtr(1)
|
||||
, false
|
||||
);
|
||||
cout<<"# list11 MoveLinkIn(5th, 1th, before)"<<endl;
|
||||
cout<<"# list11 IterElemLink ################"<<endl;
|
||||
VO_ListOfStr11.IterElemLink(&ShowNode1_3, ZftMCP(VI_CallCnt=0));
|
||||
|
||||
|
||||
VO_ListOfStr11.MoveLinkIn
|
||||
(
|
||||
*VO_ListOfStr11.GetLinkPtr(6)
|
||||
, *VO_ListOfStr11.GetLinkPtr(7)
|
||||
, true
|
||||
);
|
||||
cout<<"# list11 MoveLinkIn(6th, 7th, after)"<<endl;
|
||||
cout<<"# list11 IterElemLink ################"<<endl;
|
||||
VO_ListOfStr11.IterElemLink(&ShowNode1_3, ZftMCP(VI_CallCnt=0));
|
||||
|
||||
|
||||
VO_ListOfStr11.MoveRangeIn
|
||||
(
|
||||
*VO_ListOfStr11.GetLinkPtr(1)
|
||||
, *VO_ListOfStr11.GetLinkPtr(2)
|
||||
, *VO_ListOfStr11.GetLinkPtr(7)
|
||||
, true
|
||||
);
|
||||
cout<<"# list11 MoveRangeIn(1th, 2th, 7th, after)"<<endl;
|
||||
cout<<"# list11 IterElemLink ################"<<endl;
|
||||
VO_ListOfStr11.IterElemLink(&ShowNode1_3, ZftMCP(VI_CallCnt=0));
|
||||
|
||||
|
||||
typedef CStringList1::iterator iterator1 ;
|
||||
//typedef CStringList1::ZCLinkPointEx iteratorEx1;
|
||||
typedef CStringList1::ZCNodePointN iteratorN1 ;
|
||||
|
Reference in New Issue
Block a user