24#ifndef OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
25#define OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
27#include "../version.h"
32namespace OPENSUBDIV_VERSION {
52template <
typename TYPE>
82 if (value ==
_begin[0])
return 0;
83 if (value ==
_begin[1])
return 1;
84 if (value ==
_begin[2])
return 2;
85 if (value ==
_begin[3])
return 3;
86 assert(
"FindIndexIn4Tuple() did not find expected value!" == 0);
104template <
typename TYPE>
145using namespace OPENSUBDIV_VERSION;
value_type const * _begin
const_iterator begin() const
const_reference operator[](int index) const
TYPE const * const_iterator
size_type FindIndexIn4Tuple(value_type value) const
ConstArray(value_type const *ptr, size_type sizeArg)
size_type FindIndex(value_type value) const
TYPE const & const_reference
const_iterator end() const
const_reference operator[](int index) const
TYPE const & const_reference
Array(value_type *ptr, size_type sizeArg)
reference operator[](int index)