Hi Lefteris,

On Nov 27, 2012, at 17:03 , Lefteris Karapetsas <lef...@msn.com> wrote:
> Hello all.
> 
> I have a main header file that includes some smaller modules of some code. 
> The code is in C and it all operates on the same struct so all the functions 
> are preceded with the @memberof STRUCTNAME doxygen command.
> 
> So say we have this inside the main header file:
> 
> #include <String/init.h>
> #include <String/retrieval.h>
> #include <String/conversion.h>
> #include <String/accessors.h>
> #include <String/manipulation.h>
> #include <String/files.h>
> 
> Each of these sub-headers declares some functions that operate on a string 
> struct. In the past they were all declared in the same header file so it was 
> easy to group them with the following way:
> 
> //! @name Functions that do thing A
> //! @{
> 
> int funcA1(void);
> int funcA2(void);
> //! @}
> 
> //! @name Functions that do thing B
> //! @{
> 
> int funcB1(void);
> int funcB2(void);
> 
> //! @}
> 
> 
> But now if I separate these in different sub-header files it still works but 
> they do not appear in the declared order.  Instead they would appear in the 
> alphabetical order of the files. So for those there:
> 
> #include <String/init.h>                  <-- would be 4th
> #include <String/retrieval.h>        <--would be 6th
> #include <String/conversion.h>     <--would be 2nd
> #include <String/accessors.h>       <--would be 1st
> #include <String/manipulation.h> <--would be 5th
> #include <String/files.h>                 <--would be 3rd
> 
> I tried setting the SORT_MEMBER_DOCS option to NO but still I got the same 
> results.  What can I do to get the desired result in this situation? Renaming 
> the headers to match the order I want alphabetically is not an option.  Any 
> advice would be really appreciated.

The order in which the member groups appear will just be the order in which the 
files are fed to doxygen (since all end up in the same container).
If you specify a whole directory as input (i.e. String) it will be processed in 
alphabetical order. 
If you specify the files individually at INPUT you can determine the order 
yourself.

Regards,
  Dimitri


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to