The FB2Parser class.
More...
#include <FB2Parser.h>
The FB2Parser class.
This class contains various methods for fb2 books parsing. In most cases you do not need to use this class directly. Use CreateCollection, RefreshCollection and BookInfo instead.
◆ FB2Parser()
| FB2Parser::FB2Parser |
( |
const std::shared_ptr< AuxFunc > & | af | ) |
|
◆ fb2_book_info()
| std::shared_ptr< BookInfoEntry > FB2Parser::fb2_book_info |
( |
const std::string & | book | ) |
|
Returns fb2 book info and cover.
- Deprecated
- This method will be removed in future releases. Use fb2BookInfo() instead.
- Parameters
-
| book | fb2 books file content. |
- Returns
- Smart poiner to BookInfoEntry object.
◆ fb2_parser()
Parses fb2 book.
- Deprecated
- This method will be removed in future releases. Use fb2Parser() instead.
- Note
- This method can throw std::exception object in case of any errors.
- Parameters
-
- Returns
- BookParseEntry object.
◆ fb2BookInfo()
| std::shared_ptr< BookInfoEntry > FB2Parser::fb2BookInfo |
( |
const std::string & | book | ) |
|
Returns fb2 book info and cover.
- Parameters
-
| book | fb2 books file content. |
- Returns
- Smart poiner to BookInfoEntry object.
◆ fb2Parser()
Parses fb2 book.
- Note
- This method can throw std::exception object in case of any errors.
- Parameters
-
- Returns
- BookParseEntry object.