Skip to content
  • Thomas Markwalder's avatar
    [5110] Added alternate parsing hooks into DController and DCfgMgrBase · 4a5e73f7
    Thomas Markwalder authored
    In order to accomodate bison parsing for JSON text and SimpleParser
    based element parsing, virtual methods were added to allow derivations
    to migrate.
    
    src/lib/process/d_cfg_mgr.h
    src/lib/process/d_cfg_mgr.cc
        DCfgMgrBase::parseElement() - new method to allow derivaitons
        to support alternate Element parsers on a element by element basis
    
        DCfgMgrBase::buildParams()
        DCfgMgrBase::buildAndCommit() - added call to parseElement()
    
    src/lib/process/d_controller.h
    src/lib/process/d_controller.cc
        DControllerBase::parseFile() - new method to allow derivations
        to use alternate JSON parsers
        DControllerBase::configFromFile() - added call to parseFile()
    4a5e73f7