TensorStore
tensorstore::DimensionIdentifier::index
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • VIsIndexArray
          • CDimExpression
            • Methods
            • Related Types
              • TDimensionIndexBuffer
              • CDimensionIdentifier
                • Constructors
                • Methods
                  • Findex
                  • Flabel
                • Friend functions
                • Related Functions
              • CDimRangeSpec
              • TDynamicDimSpec
              • CIsIndexVectorOrScalar
            • Related Functions
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/index_space/dimension_identifier.h"
    constexpr DimensionIndex
    tensorstore::DimensionIdentifier::index() const;

    Returns the specified dimension index, or std::numeric_limits<DimensionIndex>::max() if a dimension label was specified.

    Back to top
    Previous tensorstore::DimensionIdentifier::DimensionIdentifier[label]
    Next tensorstore::DimensionIdentifier::label