Skip to content
TensorStore
tensorstore::Box<Rank>::operator[]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
              • Foperator=
              • Frank
              • Foperator[]
                • Dchecks
              • Foperator()
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • VIsIndexArray
          • CDimExpression
          • 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
    • Dchecks
    #include "tensorstore/box.h"
    IndexInterval
    tensorstore::Box<Rank>::operator[](DimensionIndex i) const;
    IndexIntervalRef tensorstore::Box<Rank>::operator[](DimensionIndex i);

    Returns a copy/reference to the index interval for dimension i.

    Dchecks:¶

    0 <= i && i < rank().

    Back to top
    Previous tensorstore::Box<Rank>::rank
    Next tensorstore::Box<Rank>::operator()