Class LibraryBase

Nested Relationships

Inheritance Relationships

Derived Type

Class Documentation

class kiwix::LibraryBase

This class is not part of the libkiwix API. Its only purpose is to simplify the implementation of the Library’s move operations and avoid bugs should new data members be added to Library.

Subclassed by kiwix::Library

Protected Types

typedef uint64_t LibraryRevision

Protected Functions

LibraryBase()
~LibraryBase()
LibraryBase(LibraryBase&&)
LibraryBase &operator=(LibraryBase&&)

Protected Attributes

LibraryRevision m_revision
std::map<std::string, Entry> m_books
std::map<std::string, std::shared_ptr<Reader>> m_readers
std::map<std::string, std::shared_ptr<zim::Archive>> m_archives
std::vector<kiwix::Bookmark> m_bookmarks
std::unique_ptr<BookDB> m_bookDB
struct Entry : public kiwix::Book

Public Members

LibraryRevision lastUpdatedRevision = 0