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

The NotesBaseEntry class. More...

#include <NotesBaseEntry.h>

Public Member Functions

 NotesBaseEntry ()
 NotesBaseEntry constructor.
 
 NotesBaseEntry (const std::string &collection_name, const std::filesystem::path &book_file_full_path, const std::string &book_path)
 NotesBaseEntry constructor.
 
 NotesBaseEntry (const NotesBaseEntry &other)
 NotesBaseEntry copy constructor.
 
 NotesBaseEntry (NotesBaseEntry &&other)
 NotesBaseEntry move constructor.
 
NotesBaseEntryoperator= (const NotesBaseEntry &other)
 operator =
 
NotesBaseEntryoperator= (NotesBaseEntry &&other)
 operator =
 
bool operator== (const NotesBaseEntry &other) const
 operator ==
 

Public Attributes

std::string collection_name
 Collection name.
 
std::filesystem::path book_file_full_path
 Absolute path to book file.
 
std::string book_path
 Relative path to book in file (in case of archive, empty otherwise).
 
std::filesystem::path note_file_full_path
 Absolute path to note file.
 

Detailed Description

The NotesBaseEntry class.

Auxiliary class containing note info. In most cases you do not need to create NotesBaseEntry object yourself (see NotesKeeper).

Constructor & Destructor Documentation

◆ NotesBaseEntry()

NotesBaseEntry::NotesBaseEntry ( const std::string & collection_name,
const std::filesystem::path & book_file_full_path,
const std::string & book_path )

NotesBaseEntry constructor.

Parameters
collection_namecollection name.
book_file_full_pathabsolute path to book file.
book_pathrelative path to book in file (in case of archive, empty otherwise).