Font Size: a A A

Design For Abstract Description Language Of C++ Class Template

Posted on:2009-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:F WangFull Text:PDF
GTID:2178360242992789Subject:Computer applications
Abstract/Summary:PDF Full Text Request
At present, mainstream of software development is object-oriented technology in which C++ is one of the famous object-oriented languages. As a practical tool in C++, templates can be used to develop more efficient and intelligent software.It has become the cornerstone of many new C++ programming paradigms. Hierarchy of class template is generated due to the combination of class template and inheritance. Description of relationship between class templates is too complex to use in current VC++6.0 compiler environment. Many duplicate codes are needed with unclear structure relationship. The article is discussed that how to describe relationship in class template structure in a brief way. Thus programmers could pay more attention on architecture instead of detail operation. The main contributions of this dissertation are:1. The general development of class template and its defects in program design are researched. Based on the research, relevant papers are read; a new scheme is proposed.2. A structure describing language for class templates is designed. It is simple and practical while not missing support for details in describing hierarchical relationship between class, class template and template instance.3. The conversion system for the transition from ADLCTH program to C++ program and compiler environment is implemented after preliminary design. The conversion system open to a certain extent since support for new languages is considered in the design. The full implementation to the targets could be used to improve effectiveness in program design as an assistant tool.
Keywords/Search Tags:object-oriented, class template, architecture
PDF Full Text Request
Related items