클래스 부품의 재사용을 위한 객체의 추출과 이해

Extraction and Comprehension of Objects for Class Components Reuse

  • 한정수 (경희대학교 전자계산공학과) ;
  • 송영재 (경희대학교 전자계산공학과)
  • 발행 : 1999.02.01

초록

정보저장소에 저장된 클래스 부품들은 검색, 추출과정을 통한 부품의 다양한 시각적 정보가 부족하고 정확한 정보의 표현 기능이 요구되고 있다. 따라서 본 연구는 클래스 부품을 정보저장소에 저장하기 위해 객체의 구문분석 방법과 추출 Viewer 기능을 연구하였다. 분석과정에서는 클래스명, 멤버함수, 속성 등을 추출하고 클래스 자체정보와 클래스 사이의 상속관계, View를 위한 다이어그램 정보 등을 추출하였다. 또한 추출한 분석정보를 시각적으로 표현할 수 있는 추출 Viewer 기능을 구현하여 클래스 부품의 재사용과 생성, 삽입, 삭제 기능을 보였다. Viewer 기능은 객체의 상속관계와 클래스에 대한 구성정보를 보여주며, 단순한 부품의 재사용에 그치지 않고 클래스를 생성할 수 있는 기능을 추가하여 클래스 부품의 효율적 관리와 재사용성을 높이도록 하였다. 따라서 본 연구는 클래스 부품 정보, 상속관계, 계층도의 정보와 프로세스 등으로 분류하였고 추출 Viewer 기능을 통한 객체의 이해력을 높이고, 객체 생성을 위한 프로토타입을 지원한다.

Class components in a repository require exact information representation by reason of insufficiency of various visual information through search and extraction. In this paper, we have described syntax-analysis method and viewer facilities about class components. In the components analysis, we extracted class information which consists of class_names, methods, attributes, class inheritance relationship, and graphic information. viewer represents extracted class information and creates a new class. Also, it provides facilities of reuse, insertion, and deletion. Not only Viewer represents class hierarchy diagram, and shows detail information about each class, but also it creates new classes. In this paper, we implemented a Viewer using the components, inheritance, diagram information and process. And we enhanced understanding of programs through viewer, and supported prototype for class creation.

키워드