commit 2025-10-14 00:11 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -5723,7 +5723,7 @@ namespace ZNsMain
|
||||
typedef const TypeList TypeListC ;
|
||||
typedef const TypeData TypeDataC ;
|
||||
typedef const TypeNode TypeNodeC ; // ZCNodePoint::GetNode() const 의 반환형.
|
||||
typedef const ZCLink TypeLinkC ;
|
||||
typedef const TypeLink TypeLinkC ;
|
||||
|
||||
typedef const ZCLink ZCLinkC ;
|
||||
typedef const IterEasy IterEasyC ;
|
||||
@ -5808,7 +5808,7 @@ namespace ZNsMain
|
||||
ZCLink& operator=(const ZCLink& rhs)*/
|
||||
|
||||
|
||||
ZCLink* GetNextPrevPtr(TypeSize AL_FarNum)
|
||||
ZCLink * GetNextPrevPtr(TypeSize AL_FarNum)
|
||||
{
|
||||
ZCLink* VP_TmpLink=this;
|
||||
|
||||
@ -5818,11 +5818,10 @@ namespace ZNsMain
|
||||
|
||||
return VP_TmpLink;
|
||||
}/*
|
||||
ZCLink* GetNextPrevPtr(TypeSize AL_FarNum)*/
|
||||
|
||||
const ZCLink* GetNextPrevPtr(TypeSize AL_FarNum) const
|
||||
ZCLink * GetNextPrevPtr(TypeSize AL_FarNum)*/
|
||||
ZCLinkC* GetNextPrevPtr(TypeSize AL_FarNum) const
|
||||
{
|
||||
ZCLink* VP_TmpLink=const_cast<ZCLink*>(this);
|
||||
ZCLinkC* VP_TmpLink = this;
|
||||
|
||||
if(AL_FarNum>=0)
|
||||
{ while(--AL_FarNum>=0) VP_TmpLink=VP_TmpLink->mp_NextLink; }
|
||||
@ -5830,7 +5829,7 @@ namespace ZNsMain
|
||||
|
||||
return VP_TmpLink;
|
||||
}/*
|
||||
const ZCLink* GetNextPrevPtr(TypeSize AL_FarNum) const*/
|
||||
ZCLinkC* GetNextPrevPtr(TypeSize AL_FarNum) const*/
|
||||
|
||||
|
||||
operator TypeData& () {return mo_DataObjt;}
|
||||
@ -5965,7 +5964,6 @@ namespace ZNsMain
|
||||
++ml_CurrPos; return *this ;
|
||||
}/*
|
||||
const ZCNodePoint& operator++() const*/
|
||||
|
||||
const ZCNodePoint& operator--() const
|
||||
{
|
||||
mp_CurrLink = mp_CurrLink->mp_PrevLink;
|
||||
@ -5983,7 +5981,6 @@ namespace ZNsMain
|
||||
++ml_CurrPos ; return VO_NowPoint ;
|
||||
}/*
|
||||
ZCNodePoint operator++(int) const*/
|
||||
|
||||
ZCNodePoint operator--(int) const
|
||||
{
|
||||
ZCNodePoint VO_NowPoint(*this);
|
||||
@ -6005,7 +6002,6 @@ namespace ZNsMain
|
||||
return *this; /*:::::::::::::::::::::::::::*/
|
||||
}/*
|
||||
const ZCNodePoint& operator+=(TypeSize AL_Distance) const*/
|
||||
|
||||
const ZCNodePoint& operator-=(TypeSize AL_Distance) const
|
||||
{
|
||||
mp_CurrLink = &((*mp_CurrLink)-AL_Distance);
|
||||
@ -6055,7 +6051,7 @@ namespace ZNsMain
|
||||
return VO_ZCLinkPoint; /****************/
|
||||
}/*
|
||||
static ZCNodePointC MakeTailPoint(const TypeList& AR_TypeList)*/
|
||||
static ZCNodePointC MakeTailPoint(const ZCNodePoint& AR_TypeIter)
|
||||
static ZCNodePointC MakeTailPoint(const ZCNodePoint & AR_TypeIter)
|
||||
{
|
||||
ZCNodePointC VO_ZCLinkPoint(AR_TypeIter);
|
||||
|
||||
@ -6064,7 +6060,7 @@ namespace ZNsMain
|
||||
|
||||
return VO_ZCLinkPoint; /****************/
|
||||
}/*
|
||||
static ZCNodePointC MakeTailPoint(const ZCNodePoint& AR_TypeIter)*/
|
||||
static ZCNodePointC MakeTailPoint(const ZCNodePoint & AR_TypeIter)*/
|
||||
static ZCNodePointC MakeTailPoint(const ZCNodePointC& AR_TypeIter)
|
||||
{
|
||||
ZCNodePointC VO_ZCLinkPoint(AR_TypeIter);
|
||||
@ -6078,8 +6074,8 @@ namespace ZNsMain
|
||||
|
||||
public :
|
||||
|
||||
TypeListC& GetMain() const{return mr_CurrList;}
|
||||
TypeLinkC& GetNode() const{return *mp_CurrLink;}
|
||||
TypeThisC& GetMain() const{return mr_CurrList;}
|
||||
TypeNodeC& GetNode() const{return *mp_CurrLink;}
|
||||
/***************************************************/
|
||||
TypeSize GetPos () const{return ml_CurrPos ;}
|
||||
/***************************************************/
|
||||
@ -6093,8 +6089,8 @@ namespace ZNsMain
|
||||
|
||||
|
||||
TypeDataC& operator*() const{return **mp_CurrLink;}
|
||||
operator TypeLinkC* () const{return mp_CurrLink;}
|
||||
operator TypeLinkC& () const{return *mp_CurrLink;}
|
||||
operator TypeNodeC* () const{return mp_CurrLink;}
|
||||
operator TypeNodeC& () const{return *mp_CurrLink;}
|
||||
|
||||
|
||||
bool operator == (const ZCNodePointC& rhs) const
|
||||
|
Reference in New Issue
Block a user