GNUEDMA
 October, 2003
  main | overview | repositories | object creation | inheritance | aop | use | type system | performance | comparision  

Static Inheritance
superclass specification  
  • Superclass list is specified in Interface Definition Files
  • A preferrer anchor point can be specified, following the superclass name.
    This string fixes the donwlink between superclass and current class
  • At run-time a subobject will be created for each superclass indicated
  • A piece of an Interface Definition File for a typical subclass
  • [General]
    Name=NFILE
    [SYS_DEF]
    ModuleName=libNFILE.so
    [Definition]
    PropertiesNum=2
    MethodsNum=16
    SCList=STREAM:IMP

inheritance issues  
  • Repeated Inheritance not allowed on static inheritance relationships. Can be simulated dynamically
  • Name clashing is resolved using classpaths in a way similar to C++ does with fully-qualified names

<< Previous   Next >>
 [Object Cloning] [Dynamic Inheritance]