W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

Re: DOM Level 3 modules and C++

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 30 Sep 2002 18:39:07 -0400
Message-Id: <200209302239.SAA28628@nerd-xing.mit.edu>
To: Christian Parpart <cparpart@surakware.net>
Cc: www-dom@w3.org

> I do not know how Java do go around this problem. How?

Presumably by having a Document class that declares whatever interfaces
it implements... You can simulate this in C++ by having pure virtual
classes for each interface and only inheriting from the ones you care
about (and maybe having a way to ask the Document object which ones it
implements).

Boris
-- 
Millions long for immortality who do not know what to do with
themselves on a rainy Sunday afternoon.
                                       -- Susan Ertz
Received on Monday, 30 September 2002 18:40:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT