home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / doxg1211.zip / doxygen.zip / examples / overload.cpp < prev    next >
C/C++ Source or Header  |  1999-12-04  |  485b  |  26 lines

  1. class Test 
  2. {
  3.   public:
  4.     void drawRect(int,int,int,int);
  5.     void drawRect(const Rect &r);
  6. };
  7.  
  8. void Test::drawRect(int x,int y,int w,int h) {}
  9. void Test::drawRect(const Rect &r) {}
  10.  
  11. /*! \class Test
  12.  *  \brief A short description.
  13.  *   
  14.  *  More text.
  15.  */
  16.  
  17. /*! \fn void Test::drawRect(int x,int y,int w,int h)
  18.  * This command draws a rectangle with a left upper corner at ( \a x , \a y ),
  19.  * width \a w and height \a h. 
  20.  */
  21.  
  22. /*!
  23.  * \overload void Test::drawRect(const Rect &r)
  24.  */
  25.  
  26.