HOPS
HOPS class reference
Namespaces | Functions
MHO_VexHelpers.hh File Reference

Small free-function helpers for the recurring (O)VEX traversal patterns: More...

#include <map>
#include <string>
#include "MHO_JSONHeaderWrapper.hh"

Go to the source code of this file.

Namespaces

 hops
 
 hops::MHO_VexHelpers
 

Functions

std::string hops::MHO_VexHelpers::FirstKeywordInModeSection (const mho_json &vex_root, const std::string &mode_name, const std::string &section)
 
std::string hops::MHO_VexHelpers::ResolvePolarization (const mho_json &vex_root, const std::string &bbc_table, const std::string &if_table, const std::string &bbc_id)
 
std::string hops::MHO_VexHelpers::StationMk4SiteId (const mho_json &vex_root, const std::string &station_code)
 
std::map< std::string, std::string > hops::MHO_VexHelpers::StationToKeywordMap (const mho_json &vex_root, const std::string &mode_name, const std::string &section)
 
std::string hops::MHO_VexHelpers::TableForStation (const mho_json &vex_root, const std::string &mode_name, const std::string &section, const std::string &station_code, const std::map< std::string, std::string > *prebuilt_map=nullptr)
 

Detailed Description

Small free-function helpers for the recurring (O)VEX traversal patterns:

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Fri May 22 03:56:07 PM EDT 2026
  • per-station table-name resolution under $MODE.$FREQ / $MODE.$BBC / $MODE.$IF
  • the chained BBC->IF->polarization lookup that channel naming needs
  • station -> mk4_site_ID resolution via $STATION -> $SITE

These wrap the vex mho_json structure, they only exist to keep the all of mental deeply-nested literal-string traversal in one place.