Book a Demo

Author Topic: Reverseengineering: Parameter-Notes (doxygenstyle)  (Read 3739 times)

Niy

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Reverseengineering: Parameter-Notes (doxygenstyle)
« on: March 20, 2012, 02:34:42 am »
Hi,

Does anyone know, how I can import sourcecode (C) with parameter-notes and parameter-kind?
Our projects are Doxygenstyle commented, so the information is there and parseable, but EA doesn't seem to understand where to put the comments.
example:
/** This function returns the last error information and should be called if an API
 *  function does not return RETURN_OK.
 *
 * @note
 * funktionnotes
 *
 * @param[out] pErrorInfo    ErrorInformation blabla
 *                          
 *
 */
void getLastErrorInfo(ErrorInfo *const pErrorInfo);

This whole comment get's into the function-notes, I want the "ErrorInformation blabla" in the parameter-notes and the out in parameter-kind.

Every help will be greatly appreciatet.  :)
« Last Edit: March 20, 2012, 02:36:38 am by Niy »

Niy

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Reverseengineering: Parameter-Notes (doxygenst
« Reply #1 on: March 23, 2012, 06:02:08 pm »
*poke*

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverseengineering: Parameter-Notes (doxygenst
« Reply #2 on: March 26, 2012, 08:57:52 am »
As far as I can see, there is now way to tell EA to parse the comments during a C import.

Niy

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Reverseengineering: Parameter-Notes (doxygenst
« Reply #3 on: March 26, 2012, 09:48:35 pm »
Ok,

thank you, writing a feature request now ;-)

Niy

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Reverseengineering: Parameter-Notes (doxygenst
« Reply #4 on: March 28, 2012, 01:43:04 am »
4 years ago EA was capable of understanding at least the @param part, see:
http://dev.lsstcorp.org/trac/wiki/EaIngestNeeds

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverseengineering: Parameter-Notes (doxygenst
« Reply #5 on: March 28, 2012, 08:56:06 am »
It is capable of that. But it's only doing that for Java and optionally C++.