You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
549 B

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