|
MLBookProc 2.1
|
#include <TXTParser.h>
Public Member Functions | |
| TXTParser (const std::shared_ptr< MLBookProc > &mlbp) | |
| TXTParser constructor. | |
| UDBElement | parseBook (const std::filesystem::path &file_path) |
| UDBase | getBookInfo (const std::filesystem::path &file_path) |
The TXTParser class.
This class contains methods for txt and md files parsing. In most cases you do not need to use it directly, use CreateCollection and BookInfo instead.
| TXTParser::TXTParser | ( | const std::shared_ptr< MLBookProc > & | mlbp | ) |
TXTParser constructor.
| mlbp | Smart pointer to MLBookProc object. |
| UDBase TXTParser::getBookInfo | ( | const std::filesystem::path & | file_path | ) |
Gets extra info from file.
| file_path | Path to file. |
| UDBElement TXTParser::parseBook | ( | const std::filesystem::path & | file_path | ) |