| 1 | class Test6 |
| 2 | { |
| 3 | public: |
| 4 | const char *member(char,int) throw(std::out_of_range); |
| 5 | }; |
| 6 | |
| 7 | const char *Test6::member(char c,int n) throw(std::out_of_range) {} |
| 8 | |
| 9 | /*! \class Test6 |
| 10 | * \brief Test6 class. |
| 11 | * |
| 12 | * Details about Test6. |
| 13 | */ |
| 14 | |
| 15 | /*! \fn const char *Test6::member(char c,int n) |
| 16 | * \brief A member function. |
| 17 | * \param c a character. |
| 18 | * \param n an integer. |
| 19 | * \exception std::out_of_range parameter is out of range. |
| 20 | * \return a character pointer. |
| 21 | */ |
| 22 | |
| 23 | /*! \brief Doing important things with parameter directions |
| 24 | * |
| 25 | * \param[out] a output |
| 26 | * \param[in] b input |
| 27 | * \param[in, out] c input but gets rewritten |
| 28 | */ |
| 29 | void myFunc(int * a, int * b, int * c); |