-
#include "tensorstore/index_space/index_domain_builder.h" -
template <typename Labels>
IndexDomainBuilder&
tensorstore::IndexDomainBuilder<Rank>::labels(const Labels& labels); -
template <size_t N>
IndexDomainBuilder& tensorstore::IndexDomainBuilder<Rank>::labels(
const std::string_view (&labels)[N]); Sets the
labelsvector to the specified value.- Parameters:¶
- const Labels &labels¶
- const std::string_view (&labels)[N]
A sequence with
value_typeconvertible tostd::string_viewspecifying the label for each dimension.
- Pre:¶
valid() == true- Checks:¶
Note
Calling this method after it has already been called simply overrides the previous value.