샘플 클래스에 대해 생성되는 주석 코드

Point 스펙 파일에 대한 파일 헤더는 다음과 같습니다.

/**
* (C) copyright 2004
*
* @file    DefaultComponent\DefaultConfig\Point.h
* @author  Ford Perfect
* @date    //! Tue, 16, Mar 2004
* @brief   The Point class definition
*
* Rhapsody:       5.0.1
* Component:      DefaultComponent
* Configuration:  DefaultConfig
* Element:        Point
**/

Point 클래스의 생성된 설명은 다음과 같습니다.

/**
* Class Point
* @brief A 2D point representation
* @see Point3D
* @warning NA
*/
//## class Point
class Point {...

create() 오퍼레이션의 생성된 설명은 다음과 같습니다.

/**
* Operation create(int,int)
* @brief A static method to create a new Point
* $Arguments
* @param x: [in] The new Point x coordinate
* @param y: [in] The new Point y coordinate
* @return a new Point with the specified coordinates
* @see NA
* @warning NA
*/
//## operation create(int,int)
static POint* create(int x, int y);

피드백