#pragma once #include "branch2.hpp" #include "toml.hpp" #include class BranchTier { public: BranchTier(); BranchTier(toml::value const &); public: void copy_enabled_rw(BranchTier &); public: uint64_t min_free_space; public: std::vector::iterator begin() { return _branches.begin(); } std::vector::iterator end() { return _branches.end(); } std::vector::const_iterator begin() const { return _branches.begin(); } std::vector::const_iterator end() const { return _branches.end(); } private: std::vector _branches; };