7#ifndef OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
8#define OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
10#include "../version.h"
15namespace OPENSUBDIV_VERSION {
35template <
typename TYPE>
65 if (value ==
_begin[0])
return 0;
66 if (value ==
_begin[1])
return 1;
67 if (value ==
_begin[2])
return 2;
68 if (value ==
_begin[3])
return 3;
69 assert(
"FindIndexIn4Tuple() did not find expected value!" == 0);
87template <
typename TYPE>
128using namespace OPENSUBDIV_VERSION;
value_type const * _begin
const_iterator begin() const
const_reference operator[](int index) const
size_type FindIndexIn4Tuple(value_type value) const
ConstArray(value_type const *ptr, size_type sizeArg)
TYPE const * const_iterator
size_type FindIndex(value_type value) const
const_iterator end() const
TYPE const & const_reference
const_reference operator[](int index) const
Array(value_type *ptr, size_type sizeArg)
TYPE const & const_reference
reference operator[](int index)