32 void load(std::shared_ptr<BlockAccessor> dest, fs::path src_file,
bool block_in_blocks=
false)
override;
43 bool globalScale=
false)
override;
51 void apply_lha_prototypes(std::shared_ptr<IDBNodeProvider> provider)
const;
53 std::vector<LhaPrototypeSpec> lha_prototypes;
Alias-aware façade for accessing and manipulating multiple parameter blocks.
Factory for creating IDBNodeProvider instances from a file path.
Defines a generic interface for data loading operations.
Block identifier with alias support.
Abstract interface for loading data into an object.
Port used by the domain to register LHA parser prototypes.
Loader class to populate a BlockAccessor from a source file.
void add_lha_prototypes(const std::vector< LhaPrototypeSpec > &prototypes) override
Registers several additional LHA prototypes.
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) override
Registers an additional LHA prototype to apply before parsing LHA files.
void load(std::shared_ptr< BlockAccessor > dest, fs::path src_file, bool block_in_blocks=false) override
Loads parameter blocks from a file into the given BlockAccessor.