MLBookProc 1.1
 
Loading...
Searching...
No Matches
RemoveBook Class Reference

The RemoveBook class. More...

#include <RemoveBook.h>

Public Member Functions

 RemoveBook (const std::shared_ptr< AuxFunc > &af, const BookBaseEntry &bbe, const std::string &col_name, const std::shared_ptr< BookMarks > &bookmarks)
 RemoveBook constructor.
 
void removeBook ()
 Removes book.
 

Detailed Description

The RemoveBook class.

This class contains methods to carry out book removing from collection.

Constructor & Destructor Documentation

◆ RemoveBook()

RemoveBook::RemoveBook ( const std::shared_ptr< AuxFunc > & af,
const BookBaseEntry & bbe,
const std::string & col_name,
const std::shared_ptr< BookMarks > & bookmarks )

RemoveBook constructor.

Parameters
afsmart pointer to AuxFunc object.
bbeBookBaseEntry containing book info.
col_namecollection name.
bookmarksBookMarks object.

Member Function Documentation

◆ removeBook()

void RemoveBook::removeBook ( )

Removes book.

Note
This method can throw MLException in case of errors.