A
Aaron Gray
I am at the design stage for implementing a RTF event generator front end
for converting RTF to XHTML or XML.
Basically am stuck on whether to use virtual functions dispatched from a
table or whether to use enums dispatched with in a switch and case
statement. There are problems with both in regarding inheritance and
reusability. ie you cannot call virtual methods of a subclass and switch and
case statements are not exactly extendable.
I am stuck which route to take.
Any thoughts or ideas that may influence me are welcome,
Aaron
for converting RTF to XHTML or XML.
Basically am stuck on whether to use virtual functions dispatched from a
table or whether to use enums dispatched with in a switch and case
statement. There are problems with both in regarding inheritance and
reusability. ie you cannot call virtual methods of a subclass and switch and
case statements are not exactly extendable.
I am stuck which route to take.
Any thoughts or ideas that may influence me are welcome,
Aaron