Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-common
Source project has a limited visibility.
  • Oliver Sander's avatar
    ac00a77f
    Inherit from the new class ParameterTree instead of implementing · ac00a77f
    Oliver Sander authored
    a parameter hierarchy container directly.  That way, the data
    structure is separated from the various ways to fill it.
    
    Having a parser class inherit from a container is certainly not
    a good design.  However, it is the simplest way to get rid of
    the container implementation and still be 100% backward-compatible.
    I will deprecated a few container-related methods in the near
    future.
    
    [[Imported from SVN: r6036]]
    ac00a77f
    History
    Inherit from the new class ParameterTree instead of implementing
    Oliver Sander authored
    a parameter hierarchy container directly.  That way, the data
    structure is separated from the various ways to fill it.
    
    Having a parser class inherit from a container is certainly not
    a good design.  However, it is the simplest way to get rid of
    the container implementation and still be 100% backward-compatible.
    I will deprecated a few container-related methods in the near
    future.
    
    [[Imported from SVN: r6036]]