commit 2025-10-07 23:54 public ReplaceByPosList() => private ReplaceByPosList() ZCppMain/ZtCStringEx.H
This commit is contained in:
@ -90,6 +90,9 @@ namespace ZNsMain
|
|||||||
##########################################################*/
|
##########################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
/*public : ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
|
private:
|
||||||
|
|
||||||
template<typename TPosList> ZCStringStd& ReplaceByPosList ///////////////////
|
template<typename TPosList> ZCStringStd& ReplaceByPosList ///////////////////
|
||||||
(
|
(
|
||||||
TPosList& AR_CPosList ,
|
TPosList& AR_CPosList ,
|
||||||
@ -99,10 +102,15 @@ namespace ZNsMain
|
|||||||
)
|
)
|
||||||
/*#########################################################################*/
|
/*#########################################################################*/
|
||||||
{
|
{
|
||||||
// TPosList : ZNsMain::ZtCBaseList<TypeLength> etc
|
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
// AL_Replace : APC_Replace 의 길이
|
|
||||||
// AL_Searched : 이전에 찾은 길이
|
■ TPosList : ZNsMain::ZtCBaseList<TypeLength> etc
|
||||||
// ARR_SaveOut : AL_Replace>AL_Searched 인 경우에 여기에 저장한다.
|
AL_Replace : APC_Replace 의 길이
|
||||||
|
AL_Searched : 이전에 찾은 길이
|
||||||
|
|
||||||
|
Replace() 에서 FindPosToList() 다음에 호출한다.
|
||||||
|
|
||||||
|
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
|
||||||
|
|
||||||
if(AR_CPosList.size()<1) return *this;
|
if(AR_CPosList.size()<1) return *this;
|
||||||
|
|
||||||
@ -233,6 +241,10 @@ namespace ZNsMain
|
|||||||
###########################################################################*/
|
###########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
/*private: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
|
public :
|
||||||
|
|
||||||
|
|
||||||
ZCStringStd& Replace /*####################################################*/
|
ZCStringStd& Replace /*####################################################*/
|
||||||
(
|
(
|
||||||
TypeCPChar APC_Search, TypeCPChar APC_Replace,
|
TypeCPChar APC_Search, TypeCPChar APC_Replace,
|
||||||
|
@ -447,6 +447,9 @@ namespace ZNsMain
|
|||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////*/
|
/////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
|
/*public : ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
|
private:
|
||||||
|
|
||||||
template<typename TPosList> ZCStringBase& ReplaceByPosList ////////////////
|
template<typename TPosList> ZCStringBase& ReplaceByPosList ////////////////
|
||||||
(
|
(
|
||||||
TPosList& AR_CPosList ,
|
TPosList& AR_CPosList ,
|
||||||
@ -456,9 +459,15 @@ namespace ZNsMain
|
|||||||
)
|
)
|
||||||
/*#######################################################################*/
|
/*#######################################################################*/
|
||||||
{
|
{
|
||||||
// TPosList : ZNsMain::ZtCBaseList<TypeLength> etc
|
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
// AL_Replace : APC_Replace 의 길이
|
|
||||||
// AL_Searched : 이전에 찾은 길이
|
■ TPosList : ZNsMain::ZtCBaseList<TypeLength> etc
|
||||||
|
AL_Replace : APC_Replace 의 길이
|
||||||
|
AL_Searched : 이전에 찾은 길이
|
||||||
|
|
||||||
|
Replace() 에서 FindPosToList() 다음에 호출한다.
|
||||||
|
|
||||||
|
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
|
||||||
|
|
||||||
if(AR_CPosList.size()<1) return *this;
|
if(AR_CPosList.size()<1) return *this;
|
||||||
|
|
||||||
@ -588,6 +597,10 @@ namespace ZNsMain
|
|||||||
#########################################################################*/
|
#########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
/*private: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
|
public :
|
||||||
|
|
||||||
|
|
||||||
/* template<typename TSearchInfoList> void MakeSplitInfoList()
|
/* template<typename TSearchInfoList> void MakeSplitInfoList()
|
||||||
|
|
||||||
APC_Search 문자열로 나뉘어지는 각 구간의 문자열 정보리스트를 얻는다.
|
APC_Search 문자열로 나뉘어지는 각 구간의 문자열 정보리스트를 얻는다.
|
||||||
|
Reference in New Issue
Block a user