#include "tensorstore/index_space/dimension_identifier.h"
absl::Status
tensorstore::NormalizeDynamicDimSpec(const DynamicDimSpecspec,
                                     
span<const std::string> labels,
                                     
DimensionIndexBufferresult);

Appends to *result the dimensions corresponding to spec.

Parameters:
const DynamicDimSpec &spec

The dimension specification.

span<const std::string> labels

Vector of length ` rank` specifying the dimension labels.

out
DimensionIndexBuffer *result

Non-null pointer to result vector.

Returns:

absl::OkStatus() on success.

Error absl::StatusCode::kInvalidArgument:

if spec is invalid.