[Doxygen-develop] How to get the first line of a definition?
Brought to you by:
dimitri
From: Jean-Philippe O. <jpo...@il...> - 2001-10-29 11:51:26
|
Hi, I would like to know if there is a way to get the position of the first line of a C++ definition in header files. For example if a .h contains: 0: void foo(int a, 1: int b, 2: int c) { 3: // code... 4: } Definition::getDefLine() will return the position of the last line of the definition (2). Definition::getStartBodyLine() and Definition::getEndBodyLine() will return the position of the body ( 2, 4). Regards, JeanFI. |