home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / doxygen-1.4.4-setup.exe / {app} / examples / overload.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-05  |  485 b   |  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.