RTFParser(3)

RTFParser(3) Library Functions Manual RTFParser(3)

NAME

RTFParser - The RTFParser class.

SYNOPSIS

#include <RTFParser.h>

Public Member Functions


RTFParser (const std::shared_ptr< MLBookProc > &mlbp)
RTFParser constructor. UDBElement parseBook (const std::string &book_content)
UDBase getBookInfo (const std::string &book_content)

Detailed Description

The RTFParser class.

This class contains methods for rtf files parsing. In most cases you do not need to use it directly. Usd CreateCollection and BookInfo instead.

Constructor & Destructor Documentation

RTFParser::RTFParser (const std::shared_ptr< MLBookProc > & mlbp)

RTFParser constructor.

Parameters

mlbp Smart pointer to MLBookProc object.

Member Function Documentation

UDBase RTFParser::getBookInfo (const std::string & book_content)

Gets extra information from rtf file.

Note

This method can throw std::exception in case of errors.

Parameters

book_content File content.

Returns

UDBase object containing found information.

UDBElement RTFParser::parseBook (const std::string & book_content)

Parses rtf file.

Note

This method can throw std::exception in case of errors.

Parameters

book_content File content.

Returns

BaseID::Book object.

Author

Generated automatically by Doxygen for MLBookProc from the source code.

Version 2.1 MLBookProc