函数模板在数据持久化中的应用  被引量:1

Application of Function Template in the Data Persistence

在线阅读下载全文

作  者:王大志[1] 

机构地区:[1]91550部队92分队

出  处:《电脑编程技巧与维护》2013年第10期36-38,共3页Computer Programming Skills & Maintenance

摘  要:C++的发展方向已经从已往注重运行时效率转到提高程序员的编程效率上,C++函数模板特性为提高编程效率提供了一个极佳的设计方向。分析了函数模板在作战仿真软件数据持久化接口中的应用,定义了函数模板,并简化了数据持久化工作代码的编写与维护,与原设计方案的比较,表明函数模板的应用明显加快了开发进度,产生了更高质量的代码。The development direction of C++ has been changed from focus on running efficiency to improve programmer productivity. It is provided an excellent design direction to improve the efficiency of programming by the C++ function template featue. In this paper, function template was discussed in combat simulation software data persistence interface.h simplifies the data persistence in coding and maintaining by defining function template. It significantly speed up the development progress in comparison with the original design, and produce higher quality code.

关 键 词:函数模板 C++语言 数据持久化 

分 类 号:TP312.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象