From: Stefan S. <se...@sy...> - 2006-11-16 14:46:07
|
Emílio Wuerges wrote: > Hi to All, > > My problem is simple: > I need to parse a header file, search for classes declaration with > virtual methods > and print their signature. > I searched for an example in OpenC++ documentation and this list with no > results. > > Can someone give me a clue? > Can OpenC++ do it? Probably. > After that, I would like to add a few members, remove some and output a > refactored C++ code. > Can OpenC++ still do it? Also probably. (It depends on your C++ code: OpenC++ has some trouble with more modern C++ constructs, so depending on your code it may do well or just fall over.) In case you don't get the answer you are looking for here, you may consider using synopsis instead (http://synopsis.fresco.org), which provides that functionality too. (Its C++ parser started as a fork of OpenC++ many years ago.) As I'm the main developer there, I may be able to help you with that. Regards, Stefan -- ...ich hab' noch einen Koffer in Berlin... |