[Click] getting number of element handlers
Kristof Cauwel
Kristof.Cauwel at UGent.be
Sun Feb 5 12:10:17 EST 2006
Hello,
In router.hh there is a function handler(Element, int) which enables you to get
an element handler. I want to get all handlers of all elements. There is a
function nelements which gives you the number of elements. I can then loop
through the elements but I don't see a function which gives you the number of
handlers an element got. I guess I could loop untill I get an error but that's
kinda ugly...
Anybody got an idea if there is a function given you the number of handlers of a
given element? If there is a way to loop through ALL handlers, that would be ok
too. I suppose you can ask a handler to which element it belongs.
thanks,
Kristof
--
More information about the click
mailing list