www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to get all virtual functions of a class or interface?

reply Harry Vennik <htvennik zonnet.nl> writes:
Hi all,

How can i get all virtual functions of a class or interface in D 2.0?
I mean doing the same thing as __traits(getVirtualFunctions, T, "identifier"),
but not to get only overloads of one identifier, but really all functions of
the class or interface.

Regards,

Harry
Feb 20 2008
parent Harry Vennik <htvennik zonnet.nl> writes:
Never mind... I tried this many times without success until I discovered I was


I found a work-around for that and that solved my problem.

Harry



Harry Vennik Wrote:

 Hi all,
 
 How can i get all virtual functions of a class or interface in D 2.0?
 I mean doing the same thing as __traits(getVirtualFunctions, T, "identifier"),
but not to get only overloads of one identifier, but really all functions of
the class or interface.
 
 Regards,
 
 Harry
Feb 21 2008