MLBookProc 1.3
Loading...
Searching...
No Matches
TXTParser Class Reference

The TXTParser class. More...

#include <TXTParser.h>

Public Member Functions

 TXTParser (const std::shared_ptr< AuxFunc > &af)
 TXTParser constructor.
BookParseEntry txtParser (const std::filesystem::path &txt_path)
 Parses txt files.
std::shared_ptr< BookInfoEntrytxtBookInfo (const std::filesystem::path &txt_path)
 Gets some extra info from txt files.

Detailed Description

The TXTParser class.

This class contains methods for txt files processing. In most cases you do not need to use this class directly. Use CreateCollection, RefreshCollection and BookInfo instead.

Constructor & Destructor Documentation

◆ TXTParser()

TXTParser::TXTParser ( const std::shared_ptr< AuxFunc > & af)

TXTParser constructor.

Parameters
afsmart pointer to AuxFunc object.

Member Function Documentation

◆ txtBookInfo()

std::shared_ptr< BookInfoEntry > TXTParser::txtBookInfo ( const std::filesystem::path & txt_path)

Gets some extra info from txt files.

See also BookInfoEntry.

Parameters
txt_pathabsolute path to txt file.
Returns
Smart pointer to BookInfoEntry object.

◆ txtParser()

BookParseEntry TXTParser::txtParser ( const std::filesystem::path & txt_path)

Parses txt files.

This method can be used to obtain information from txt files.

Parameters
txt_pathabsolute path to txt file.
Returns
BookParseEntry object.