Re: [Doxygen-users] Documenting same functions with different names.
Brought to you by:
dimitri
|
From: Bruce E. S. <Bru...@st...> - 2006-02-18 19:15:38
|
> Try using the \copydoc command. It works for me. Basically, you will > put documentation above remove_all to look something like this: > > /** > \copydoc Container::clear() > */ > Container::remove_all(); > > > Note also that you can add additional documentation specific only to > the member that you are copying to. What I mean is something like this: > > /** > \copydoc Container::clear() > > This will only show up in remove_all() and not clear(). By the way, > this function in just > another name for clear() and only here for convenience. > */ > Container::remove_all(); > > I hope this helps you out! > > Michael > > >> Container::remove_all(); >> Container::clear(); >> Is there anyway to copy the "brief" area of another function? |