Placing documentation after inlined member

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Placing documentation after inlined member

Mircea Neacsu
I'm trying to place documentation after short inlined functions. A
typical example would be:

class some_class
{
public:
.....
    int count () {return the_count;}; ///< Return count of something
...
};

Using Doxygen 1.5.2 the documentation is improperly (at least in my
opinion) assigned to next member. A full example follows:

/*! A test class */

class Test
{
  public:
    /** An enum type.
     *  The documentation block cannot be put after the enum!
     */
    enum EnumType
    {
      int EVal1,     /**< enum value 1 */
      int EVal2      /**< enum value 2 */
    };
    void member();   //!< a member function.
    void memeber2 () {}; //!< documenting member two
    void member3 ();  //!< documenting member three

  protected:
    int value;       /*!< an integer value */
};

In the generated output member2 is not documented and member3 has the
following brief description:
"documenting member two documenting member three"

Any idea on how to get around this problem (apart from converting all my
inline definitions to inline Test::member2 () {};)

Thanks,

Mircea


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users