Re: [Doxygen-users] Placing documentation after inlined member
Brought to you by:
dimitri
From: <And...@cs...> - 2007-05-31 03:17:21
|
> Mircea Neacsu writes >=20 >=20 > I'm trying to place documentation after short inlined functions. A=20 > typical example would be: >=20 > class some_class > { > public: > ..... > int count () {return the_count;}; ///< Return count of=20 > something ... }; ... > full example > 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 > In the generated output member2 is not documented and member3 has the=20 > following brief description: > "documenting member two documenting member three" You are using different comment markers. I have always used the ///< marker which you used in your first example. Did you notice that you were using //!< in the second case? Does it still append them if you use ///< as tbe inline marker? |