摘要
根据对曲线测设数据的特点分析 ,运用面向对象的编程方法 ,对曲线测设的程序进行了类设计 ,包括类层次划分和各类的数据成员和成员函数的设计 .基于类开发的曲线测设程序 ,实现了对测设数据及其操作的封装 ,有利于程序对测设数据的处理 .同时利用父类与子类间数据成员、成员函数的继承关系 ,可以优化曲线测设程序的整体设计 .各类建立后 ,可建成类库 ,以便今后进一步开发 ,并可继续探索其它测量程序的类和类库的建立 .
According to the analysis of characteristics of curve layout data, the class design program of curve layout is introduced with object_oriented paradigm, including the partition of hierarchy of classes and the design of data members and member functions for each class. The program of curve layout, which is based on classes,leads to the encapsulation for layout data and their operations so that it can deal with layout data more efficiently. Moreover, it can optimize the whole design program by making use of inheritance relations of data members and member functions between the basic class and its derived class. After each class completed, we can find class library in order to develop them better for the future and can continue to explore foundation of classes and class library for other survey program.
出处
《桂林工学院学报》
2002年第3期239-242,共4页
Journal of Guilin University of Technology