regexp
Posted: 30 Jul 2010, 11:51
hi all,
I would like to know if I can parse a text file using regexp and get the class name from a class that inherits from some other class. for example:
class whatever : public CMyThingy
I would like to have return "whatever" everytime it a class is derived from CMyThingy.
I'm not a regexp user.. but was thinking that it might be well suited for this?
any suggestions,
Peter Wraae Marino
PS: optimal version would return "whatever1, whatever2",.. if the file had two classes that derived from the CMyThingy
I would like to know if I can parse a text file using regexp and get the class name from a class that inherits from some other class. for example:
class whatever : public CMyThingy
I would like to have return "whatever" everytime it a class is derived from CMyThingy.
I'm not a regexp user.. but was thinking that it might be well suited for this?
any suggestions,
Peter Wraae Marino
PS: optimal version would return "whatever1, whatever2",.. if the file had two classes that derived from the CMyThingy