commit 2025-10-23 20:02 add ZtCTypeByNo in ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-23 20:03:01 +09:00
parent ff02649ca3
commit 2ad1e47820
2 changed files with 108 additions and 1 deletions

View File

@ -220,6 +220,33 @@ namespace ZNsMain
cout<<"************************************"<<endl;
typedef ZtCTypeByNo<ZCObjtChain, 0>::TypeData TypeDataHere0 ;
typedef ZtCTypeByNo<ZCObjtChain, 1>::TypeData TypeDataHere1 ;
typedef ZtCTypeByNo<ZCObjtChain, 2>::TypeData TypeDataHere2 ;
typedef ZtCTypeByNo<ZCObjtChain, 3>::TypeData TypeDataHere3 ;
typedef ZtCTypeByNo<ZCObjtChain, 4>::TypeData TypeDataHere4 ;
typedef ZtCTypeByNo<ZCObjtChain, 0>::TypeChain TypeChainHere0;
typedef ZtCTypeByNo<ZCObjtChain, 1>::TypeChain TypeChainHere1;
typedef ZtCTypeByNo<ZCObjtChain, 2>::TypeChain TypeChainHere2;
typedef ZtCTypeByNo<ZCObjtChain, 3>::TypeChain TypeChainHere3;
typedef ZtCTypeByNo<ZCObjtChain, 4>::TypeChain TypeChainHere4;
cout<<"# TypeDataHere0 ="<<typeid(TypeDataHere0 ).name()<<endl;
cout<<"# TypeDataHere1 ="<<typeid(TypeDataHere1 ).name()<<endl;
cout<<"# TypeDataHere2 ="<<typeid(TypeDataHere2 ).name()<<endl;
cout<<"# TypeDataHere3 ="<<typeid(TypeDataHere3 ).name()<<endl;
cout<<"# TypeDataHere4 ="<<typeid(TypeDataHere4 ).name()<<endl;
cout<<"************************************"<<endl;
cout<<"# TypeChainHere0="<<typeid(TypeChainHere0).name()<<endl;
cout<<"# TypeChainHere1="<<typeid(TypeChainHere1).name()<<endl;
cout<<"# TypeChainHere2="<<typeid(TypeChainHere2).name()<<endl;
cout<<"# TypeChainHere3="<<typeid(TypeChainHere3).name()<<endl;
cout<<"# TypeChainHere4="<<typeid(TypeChainHere4).name()<<endl;
cout<<"************************************"<<endl;
typedef ZtCDataRing<std::string> ZCDataRing;
ZCDataRing VO_CDataRing = string("123");