TXTParser(3)
| TXTParser(3) | Library Functions Manual | TXTParser(3) |
NAME
TXTParser - The TXTParser class.
SYNOPSIS
#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)
Detailed Description
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.
Constructor & Destructor Documentation
TXTParser::TXTParser (const std::shared_ptr< MLBookProc > & mlbp)
TXTParser constructor.
Parameters
mlbp Smart pointer to MLBookProc
object.
Member Function Documentation
UDBase TXTParser::getBookInfo (const std::filesystem::path & file_path)
Gets extra info from file.
Parameters
file_path Path to file.
Returns
UDBase containing information.
UDBElement TXTParser::parseBook (const std::filesystem::path & file_path)
Parses file.
Parameters
file_path Path to file to be parsed.
Returns
BaseID::Book object.
Author
Generated automatically by Doxygen for MLBookProc from the source code.
| Version 2.1 | MLBookProc |
