From kde-multimedia Fri May 26 14:46:31 2000 From: Stefan Westerfeld Date: Fri, 26 May 2000 14:46:31 +0000 To: kde-multimedia Subject: Re: Remote type checking working now X-MARC-Message: https://marc.info/?l=kde-multimedia&m=95935244407067 Hi! On Thu, May 25, 2000 at 05:13:17PM +0100, Nicolas Brodu wrote: > And so is remote dynamic casting. > > [...] > > I put it on http://nicolas.brodu.free.fr/arts.tar.bz2, so you can cross-check > it. Cool. It looks good, so if you want to commit it, go ahead. You could consider using this (instead of a per-object-individual-implementation): void Object_skel::_isCompatibleWith(const std::string& interfacename) { return _cast(interfacename) != 0; } This would reduce the amount of generated code, as derived objects would not need to redefine the _isCompatibleWith method. Also, I noticed that inside Object_skel, you check interfacename for "Object" instead of "Arts::Object", which is probably wrong. Cu... Stefan -- -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany KDE Developer, project infos at http://space.twc.de/~stefan/kde *- _______________________________________________ Kde-multimedia mailing list Kde-multimedia@master.kde.org http://master.kde.org/mailman/listinfo/kde-multimedia