commit 2025-09-03 13:56 edit ZCChars::Init() in ZCppMain/ZtCMainChars.H
This commit is contained in:
@ -278,13 +278,29 @@ namespace ZNsMain
|
||||
}/*
|
||||
ZCChars(TypeCharC* APC_TypeChar, TypeLength AL_Length)*/
|
||||
|
||||
void Init(TypeCharC* APC_TypeChar=0, TypeLength AL_Length=0)
|
||||
|
||||
void Init()
|
||||
{
|
||||
mp_TypeChar = 0;
|
||||
ml_TypeLength= 0;
|
||||
}/*
|
||||
void Init()*/
|
||||
|
||||
void Init(TypeCharC* APC_TypeChar)
|
||||
{
|
||||
mp_TypeChar = const_cast<TypeChar*> (APC_TypeChar);
|
||||
ml_TypeLength= ZtCTypeChars::GetLength(mp_TypeChar );
|
||||
}/*
|
||||
void Init(TypeCharC* APC_TypeChar)*/
|
||||
|
||||
void Init(TypeCharC* APC_TypeChar, TypeLength AL_Length)
|
||||
{
|
||||
mp_TypeChar =const_cast
|
||||
<TypeChar*>(APC_TypeChar) ;
|
||||
ml_TypeLength=AL_Length ;
|
||||
}/*
|
||||
void Init(TypeCharC* APC_TypeChar=0, TypeLength AL_Length=0)*/
|
||||
void Init(TypeCharC* APC_TypeChar, TypeLength AL_Length)*/
|
||||
|
||||
|
||||
void InitData(TypeCharC* APC_TypeChar)
|
||||
{
|
||||
@ -298,23 +314,9 @@ namespace ZNsMain
|
||||
}/*
|
||||
void InitLength(TypeLength AL_Length)*/
|
||||
|
||||
TypeChar* data()
|
||||
{
|
||||
return mp_TypeChar;
|
||||
}/*
|
||||
TypeChar* data()*/
|
||||
|
||||
TypeCharC* data() const
|
||||
{
|
||||
return mp_TypeChar;
|
||||
}/*
|
||||
TypeCharC* data() const*/
|
||||
|
||||
TypeLength size() const
|
||||
{
|
||||
return ml_TypeLength;
|
||||
}/*
|
||||
TypeLength size() const*/
|
||||
TypeChar* data() {return mp_TypeChar ;}
|
||||
TypeCharC* data() const{return mp_TypeChar ;}
|
||||
TypeLength size() const{return ml_TypeLength;}
|
||||
|
||||
ZCChars& operator+=(TypeLength AI_MovePos)
|
||||
{
|
||||
|
Reference in New Issue
Block a user