041_overload.cpp
Go to the documentation of this file.
1 // objective: test the \overload command
2 // check: class_test.xml
3 
4 class Test
5 {
6  public:
7  void drawRect(int,int,int,int);
8  void drawRect(const Rect &r);
9  void drawRect(const Point &topLeft,const Point &bottomRight);
10 };
11 
12 void Test::drawRect(int x,int y,int w,int h) {}
13 void Test::drawRect(const Rect &r) {}
14 /*! \overload
15  *
16  * More text.
17  */
18 void Test::drawRect(const Point &topLeft,const Point &bottomRight) {}
19 
20 /*! \class Test
21  * \brief A short description.
22  *
23  * More text.
24  */
25 
26 /*! \fn void Test::drawRect(int x,int y,int w,int h)
27  * This command draws a rectangle with a left upper corner at ( \a x , \a y ),
28  * width \a w and height \a h.
29  */
30 
31 /*!
32  * \overload void Test::drawRect(const Rect &r)
33  */
void drawRect(int, int, int, int)
A Test class.
Definition: class.h:3
list x
Definition: train.py:276