Interface for loading table data. More...
#include <itable_loader.h>
Public Member Functions | |
virtual std::vector< TableData > | loadTableList (const Settings &settings, LoadingProgress *progress=nullptr)=0 |
Loads a list of table data entries. | |
virtual const std::map< char, int > & | getLetterIndex () const =0 |
Retrieves the letter-to-index mapping. | |
Interface for loading table data.
Provides an abstract interface to load a list of table data and retrieve a mapping from characters to indices.
|
pure virtual |
Retrieves the letter-to-index mapping.
This pure virtual function returns a constant reference to a mapping between characters and their corresponding integer indices. The map is typically used to associate specific letters with positions or identifiers within a rendering context.
Implemented in TableLoader.
|
pure virtual |
Loads a list of table data entries.
This pure virtual function should be implemented by derived classes to load a collection of TableData objects based on the given settings. The provided settings parameter supplies the necessary configuration for determining which table data to load.
settings | Configuration parameters used to load the table data. |
progress | Optional pointer to LoadingProgress for tracking loading status. |
Implemented in TableLoader.