1#ifndef LHANODEPROVIDER_H
2#define LHANODEPROVIDER_H
70 void add_lha_prototype(
BlockName blockName,
size_t itemCount=2,
size_t valueIdx=1,
int scaleIdx=-1,
int rgIdx=-1,
int binIdx=-1,
bool globalScale=
false);
High-level interface to load and save DBNodetrees from/to various file formats.
Interface for objects that expose a database/configuration as a DBNode tree.
Block identifier with alias support.
Abstract provider of Node-based views of external data.
DBNode provider for LHA / SLHA / FLHA sources.
LhaDBNodeProvider(fs::path src_path_)
Constructs a provider bound to a specific source path.
std::shared_ptr< DBNode > provide_db_as_node() override
Loads the underlying LHA file and returns it as a DBNode tree.
void add_lha_prototype(BlockName blockName, size_t itemCount=2, size_t valueIdx=1, int scaleIdx=-1, int rgIdx=-1, int binIdx=-1, bool globalScale=false)
Adds a new LHA block prototype to the global set.