cluster and class name clash
alan lamer <[email protected]> Fri, 5 Aug 2005 15:58:49 +0200 (CEST)
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
hi all, Here is a question about using clusters with SmartEiffel. Assume i want to reuse eiffel clusters someone else wrote. Let's call them cluster1 and cluster2. Now Assume both of them define a class with the same name, eg STATE. How should i procede i my own eiffel classes code to use the STATE classes of both clusters? What is the valid syntax to avoid class name clash? What i allready found on the web is : - in the Bertrand Meyer homepage, a note from year 2000 was about using C++-like '::' operator - in the current ETL3 draft, chapter 3 is about using a Java-like notation, ie cluster1.STATE and cluster2.STATE I didn't found anything on this topic in the SmartEiffel documentation, but i should have missed some points since Eiffel is said to care about software quality *and* reuse ! thanks, ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com