5#include <vitrio/export.hpp>
6#include <vitrio/platform.hpp>
7#include <vitrio/span.hpp>
78 VITRIO_STD_MEMBER_INTERFACE
79 std::vector<std::
string> m_keys;
80 VITRIO_STD_MEMBER_INTERFACE
81 std::vector<std::
size_t> m_indices;
82 VITRIO_STD_MEMBER_INTERFACE
83 std::vector<std::
size_t> m_first_positions;
110 bool is_whole() const noexcept;
119 span<const std::
size_t> get_indices() const noexcept;
124 group(const std::
string &key,
span<const std::
size_t> indices) noexcept;
126 const std::
string *m_key;
127 span<const std::
size_t> m_indices;
The locations of one file in an image_location_grouping.
Definition image_location_grouping.hpp:93
const std::string & get_key() const noexcept
Get the key of the file.
Groups a list of image locations by file.
Definition image_location_grouping.hpp:31
std::size_t get_group_count() const noexcept
Get the number of groups.
image_location_grouping(span< const image_location > locations)
Group a list of locations by file.
group get_group(std::size_t index) const
Get the group of a file.
A view of a contiguous sequence of elements.
Definition span.hpp:29