38#ifndef RESTORE_TREE_HPP
39#define RESTORE_TREE_HPP
41#include "../my_config.h"
61 restore_tree(
const data_tree* source,
const datetime & ignore_more_recent_than_that);
62 restore_tree(
const restore_tree & ref) =
delete;
63 restore_tree(restore_tree && ref)
noexcept =
default;
64 restore_tree & operator = (
const restore_tree & ref) =
delete;
65 restore_tree & operator = (restore_tree && ref)
noexcept =
default;
66 ~restore_tree() =
default;
73 std::set<archive_num> get_locations(path & current_path,
74 const std::shared_ptr<mask> & the_mask)
const;
84 bool restore_from(
const path & chem, archive_num num)
const;
87 std::set<archive_num> locations;
88 std::map<std::string, std::unique_ptr<restore_tree> > children;
90 const restore_tree* lookup(
const path & chem)
const;
91 bool result_for(archive_num num)
const {
return locations.find(num) != locations.end(); };
base classes used to store entree information in dar_manager databases
this file contains the definition of class datetime that stores unix times in a portable way
here lies a collection of mask classes
libdar namespace encapsulate all libdar symbols
here is the definition of the path class