18 std::filesystem::path
path;
int cur_active_member
Active member for current profile.
Definition backuptarget.h:26
bool operator==(const BackupTarget &other) const
Tests every member of this and other for equality.
Definition backuptarget.cpp:10
std::vector< int > active_members
Contains the currently active backup for every profile.
Definition backuptarget.h:24
std::vector< std::string > backup_names
Contains display names for all backups for this target.
Definition backuptarget.h:22
std::filesystem::path path
Path to the target file or directory.
Definition backuptarget.h:18
std::string target_name
Display name for this backup target.
Definition backuptarget.h:20
BackupTarget(const std::filesystem::path &path, const std::string &target_name, const std::vector< std::string > &backup_names, const std::vector< int > &active_members)
Constructor.
Definition backuptarget.cpp:3