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);