Re: Problem with method overriding from base class

2008-03-31 Thread [EMAIL PROTECTED]
On 31 mar, 11:05, <[EMAIL PROTECTED]> wrote: > Hello everyone > > I have defined some sort of 'interface class' and a factory function that > creates instance objects of specific classes, which implement that interface: > > Interface definition: > **

Re: Problem with method overriding from base class

2008-03-31 Thread Duncan Booth
<[EMAIL PROTECTED]> wrote: > Factory: > ** * > def factory(type, *p): > if type == common.databaseEntryTypes[0]: > return module1.Class1(*p); > elif type == common.databaseEntryTypes[1]: >

Problem with method overriding from base class

2008-03-31 Thread Dominique.Holzwarth
Hello everyone I have defined some sort of 'interface class' and a factory function that creates instance objects of specific classes, which implement that interface: Interface definition: *** import GUI.webGUI a