Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6979235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:51:37+00:00 2026-05-27T17:51:37+00:00

I have an interface Collection<T extends Item> , and a class that implements that

  • 0

I have an interface Collection<T extends Item>, and a class that implements that interface Movies implements Collection<Movie>. The interface has a couple of abstract methods for sorting that are overriden by Movies.

What I want to know is, how can I get Doxygen to use the documentation from Collection.sort() and Collection.safeSort() in the class Movies? It’d be useful to know because then I can write the documentation for the interface, rather than each implementation of the interface. If I could -add- documentation to the overridden methods, that would be great, but that’s not 100% necessary.

INHERIT_DOCS is set to YES by the way, I believe Doxygen is struggling because it implements Collection<Movie> and not Collection<T extends Item>.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:51:38+00:00Added an answer on May 27, 2026 at 5:51 pm

    There appear to be a number of bugs filed against doxygen related to this type of behavior, see the following for some examples:

    • https://bugzilla.gnome.org/show_bug.cgi?id=516656
    • https://bugzilla.gnome.org/show_bug.cgi?id=583958
    • https://bugzilla.gnome.org/show_bug.cgi?id=631675

    For a workaround, you could use @copydoc to bring the documentation in your base class in to your derived class, something like:

    /**
     * Movies
     */
    public class Movies extends Collection<Movie> {
        /**
         * @copydoc Collection<T extends Item>::sort()
         *
         * Additional documentation specific to Movies::sort().
         */
        public void sort(void) { return; }
    }
    

    This will allow the documentation in the base class to appear to in the derived class documentation without having to copy it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a collection that implements an interface that extends both IList<T> and List.
I have a Collection<T> . I have a class TManager implementing an interface UManager
I have: class MyClass extends MyClass2 implements Serializable { //... } In MyClass2 is
I have an interface A , which class B implements. The following generic method
I have an interface that contains a single method called ListAll() using System.Collections.Generic; namespace
If I have interface IFoo, and have several classes that implement it, what is
Suppose we have: interface Foo { bool Func(int x); } class Bar: Foo {
Lets say you have interface definition. That interface can be Operation . Then you
Have a interface class abc { public: virtual int foo() = 0; ... }
I have an Interface called IStep that can do some computation (See Execution in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.