ASAPCabinetFE
 
Loading...
Searching...
No Matches
ITableLoader Class Referenceabstract

Interface for loading table data. More...

#include <itable_loader.h>

+ Inheritance diagram for ITableLoader:
+ Collaboration diagram for ITableLoader:

Public Member Functions

virtual std::vector< TableDataloadTableList (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.
 

Detailed Description

Interface for loading table data.

Provides an abstract interface to load a list of table data and retrieve a mapping from characters to indices.

Member Function Documentation

◆ getLetterIndex()

virtual const std::map< char, int > & ITableLoader::getLetterIndex ( ) const
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.

Returns
const std::map<char, int>& A constant reference to the mapping from letters to their indices.

Implemented in TableLoader.

◆ loadTableList()

virtual std::vector< TableData > ITableLoader::loadTableList ( const Settings settings,
LoadingProgress progress = nullptr 
)
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.

Parameters
settingsConfiguration parameters used to load the table data.
progressOptional pointer to LoadingProgress for tracking loading status.
Returns
A vector containing the loaded TableData objects.

Implemented in TableLoader.


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