38#ifndef RESTORE_TREE_HPP
39#define RESTORE_TREE_HPP
41#include "../my_config.h"
60 restore_tree(
const data_tree* source,
const datetime & ignore_more_recent_than_that);
61 restore_tree(
const restore_tree & ref) =
delete;
62 restore_tree(restore_tree && ref)
noexcept =
default;
63 restore_tree & operator = (
const restore_tree & ref) =
delete;
64 restore_tree & operator = (restore_tree && ref)
noexcept =
default;
65 ~restore_tree() =
default;
74 bool restore_from(
const std::string & chem, archive_num num)
const;
77 std::set<archive_num> locations;
78 std::map<std::string, std::unique_ptr<restore_tree> > children;
80 const restore_tree* lookup(path & chem)
const;
81 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
libdar namespace encapsulate all libdar symbols
here is the definition of the path class