Add get path suffixes method to BufferUtils

This commit is contained in:
2020-04-21 20:12:34 +02:00
parent 4c0dde41e5
commit 8be4c4db3f
2 changed files with 42 additions and 0 deletions
+11
View File
@@ -2,6 +2,7 @@
#define BUFFER_UTILS_HPP
#include <string>
#include <vector>
namespace BufferUtils
{
@@ -21,6 +22,16 @@ namespace BufferUtils
const std::string& filename_to_write);
std::string get_latest_file(const std::string& latest_filename);
struct path_sufix {
uint64_t start_pulse_id;
uint64_t stop_pulse_id;
std::string path;
};
std::vector<path_sufix> BufferUtils::get_path_suffixes(
const uint64_t start_pulse_id,
const uint64_t stop_pulse_id);
}
#endif //BUFFER_UTILS_HPP