HOPS
HOPS class reference
Static Public Member Functions | List of all members
hops::MHO_ControlEvaluatorSupport Class Reference

Pure-C++ (pybind-free) helpers shared by the Python control-file evaluators. Both the embedded (MHO_PyControlEvaluator) and the subprocess (MHO_SubprocessPyControlEvaluator) backends build the same pass-info dict from the parameter store and apply the same condition filtering + command-line set-string overrides to the statements the Python configure() produces. Keeping this logic here (no pybind, no libpython) lets the subprocess component reuse it without depending on the pybind11 plugins. More...

#include <MHO_ControlEvaluatorSupport.hh>

Static Public Member Functions

static void ApplyConditionFilterAndSetString (MHO_ParameterStore *paramStore, mho_json &control_statements)
 Filter the raw control statements by the current pass conditions and append any command-line 'set' overrides, in place. Mirrors the behavior of the native MHO_ControlFileParser path. More...
 
static mho_json BuildPassInfoDict (MHO_ParameterStore *paramStore)
 Build the pass-info dict (baseline / station codes / source / fgroup / scan / polprod) handed to the Python configure() callable. More...
 

Detailed Description

Pure-C++ (pybind-free) helpers shared by the Python control-file evaluators. Both the embedded (MHO_PyControlEvaluator) and the subprocess (MHO_SubprocessPyControlEvaluator) backends build the same pass-info dict from the parameter store and apply the same condition filtering + command-line set-string overrides to the statements the Python configure() produces. Keeping this logic here (no pybind, no libpython) lets the subprocess component reuse it without depending on the pybind11 plugins.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du

Member Function Documentation

◆ ApplyConditionFilterAndSetString()

void hops::MHO_ControlEvaluatorSupport::ApplyConditionFilterAndSetString ( MHO_ParameterStore paramStore,
mho_json control_statements 
)
static

Filter the raw control statements by the current pass conditions and append any command-line 'set' overrides, in place. Mirrors the behavior of the native MHO_ControlFileParser path.

◆ BuildPassInfoDict()

mho_json hops::MHO_ControlEvaluatorSupport::BuildPassInfoDict ( MHO_ParameterStore paramStore)
static

Build the pass-info dict (baseline / station codes / source / fgroup / scan / polprod) handed to the Python configure() callable.


The documentation for this class was generated from the following files: