commit 2025-10-13 17:58 edit a bit ZCppMain/ZtCSimList.H
This commit is contained in:
@ -17,19 +17,21 @@ namespace ZNsMain
|
||||
class ZtCArray //////////////////////////
|
||||
{
|
||||
public:
|
||||
typedef TType Type ;
|
||||
typedef TType TypeData;
|
||||
typedef TTypArg TypeArg ;
|
||||
typedef TSize TypeSize;
|
||||
typedef TType Type ;
|
||||
typedef TType TypeData ;
|
||||
typedef TTypArg TypeArg ;
|
||||
typedef TSize TypeSize ;
|
||||
public:
|
||||
class ZCDataPoint; class ZCDataPointC;
|
||||
class ZCDataPoint; class ZCDataPointC ;
|
||||
public:
|
||||
typedef Type* IterEasy;
|
||||
typedef ZCDataPoint TypeIter;
|
||||
/**********************************************/
|
||||
typedef Type* IterEasy ;
|
||||
typedef ZCDataPoint TypeIter ;
|
||||
typedef ZtCArray TypeThis ;
|
||||
|
||||
typedef const TypeThis TypeThisC ;
|
||||
typedef const TypeData TypeDataC ;
|
||||
typedef const IterEasy IterEasyC ;
|
||||
/**********************************************/
|
||||
|
||||
typedef ZCDataPointC iteratorC ;
|
||||
/**********************************************/
|
||||
typedef ZCDataPoint iterator ;
|
||||
@ -69,8 +71,15 @@ namespace ZNsMain
|
||||
}/*
|
||||
ZCDataPoint(const ZCDataPoint& rhs)*/
|
||||
|
||||
TypeSize size () const{return mr_CArray.size();}
|
||||
TypeSize GetPos() const{return ml_ElePos ;}
|
||||
|
||||
TypeThis & GetMain() {return mr_CArray ;}
|
||||
TypeData * GetNode() {return mp_Data ;}
|
||||
|
||||
TypeThisC& GetMain() const{return mr_CArray ;}
|
||||
TypeDataC* GetNode() const{return mp_Data ;}
|
||||
|
||||
TypeSize GetPos () const{return ml_ElePos ;}
|
||||
TypeSize size () const{return mr_CArray.size();}
|
||||
|
||||
TypeData & operator* () {return *mp_Data;}
|
||||
TypeData * operator->() {return mp_Data;}
|
||||
|
Reference in New Issue
Block a user