Menu

Globals in XML output

Nicolas
2009-01-15
2013-06-11
  • Nicolas

    Nicolas - 2009-01-15

    Hi,

    We have an issue an issue with globals XML documentation. For instance, the following code define in enum.h:

    /*! \file enum.h
        Short description of a file containing a global enum.
        Long description of a file containing a global enum.
    */

    #ifndef ENUM_H
    #define ENUM_H

    namespace mi {

    /// Short description of a global enum.
    /// Long  description of a global enum.
    enum Global_enum {
        /// Short description of a global enum value.
        /// Long  description of a global enum value.
        global_enum_value,

        /// Short description of a global enum value with initializer.
        /// Long  description of a global enum value with initializer.
        global_enum_value_initialized = 5
    };

    } // namespace mi

    #endif // ENUM_H

    will generate the expected html output in enum_8h.html. However, in the xml output, enum_8h.xml does not mention Global_enum as we would have expected. I have just tried Doxygen 1.5.8 without any success.

    Is this a bug or do we have a problem with our settings?

    Thanks.

    Nicolas

     
    • Korval

      Korval - 2009-04-03

      Global_enum is not global. By the C++ standard, and thus by Doxygen standards, it is a member of the namespace "mi".

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.