首页>
外国专利>
METHOD OF IMPLEMENTING INTER-CLASS ASSOCIATION IN OBJECT- ORIENTED DESIGN, AND AUTOMATIC SOURCE-CODE GENERATION SYSTEM
METHOD OF IMPLEMENTING INTER-CLASS ASSOCIATION IN OBJECT- ORIENTED DESIGN, AND AUTOMATIC SOURCE-CODE GENERATION SYSTEM
展开▼
机译:在对象设计中实现类间关联的方法以及自动源代码生成系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
PROBLEM TO BE SOLVED: To prevent possibility of external, wrong use of means for initializing data members and bug generation due to forgetting of initialization, etc., in development of object-oriented software.;SOLUTION: An exclusive function for initializing data members holding inter-classes association is provided outside the classes so that the data members can be initialized collectively within the function after all instances have been generated. Furthermore, in each class, the data members are made to be members undisclosed to the outside of the class, and the exclusive function is declared to be a friend function accessible by the undisclosed members.;COPYRIGHT: (C)2002,JPO
展开▼