commit 2025-10-13 18:46 add TypeNode : ZCppMain/ZtCObjList.H

This commit is contained in:
2025-10-13 18:46:22 +09:00
parent 093eb009d0
commit 388b87377a
4 changed files with 15 additions and 10 deletions

View File

@ -813,6 +813,7 @@ namespace ZNsMain
typedef ZtCObjList TypeThis ;
typedef ZCLink TypeLink ;
typedef ZCLink TypeNode ; // ZCLinkPoint::GetNode() 의 반환형.
typedef TypeThis TypeList ;
typedef ZCLink* IterEasy ; // 가장 간단하게 쓰일 수 있는 반복자.
@ -827,6 +828,7 @@ namespace ZNsMain
typedef const TypeList TypeListC ;
typedef const TypeData TypeDataC ;
typedef const TypeLink TypeLinkC ;
typedef const TypeNode TypeNodeC ; // ZCLinkPoint::GetNode() const 의 반환형.
typedef const IterEasy IterEasyC ;
typedef const ZCLink ZCLinkC ;
@ -1090,10 +1092,10 @@ namespace ZNsMain
public :
TypeThis & GetMain() {return mr_CurrList;}
TypeLink & GetNode() {return *mp_CurrLink;}
TypeNode & GetNode() {return *mp_CurrLink;}
TypeThisC& GetMain() const{return mr_CurrList;}
TypeLinkC& GetNode() const{return *mp_CurrLink;}
TypeNodeC& GetNode() const{return *mp_CurrLink;}
/***************************************************/
TypeSize GetPos () const{return ml_CurrPos ;}
/***************************************************/