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