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>
85 if (value ==
_begin[0])
return 0;
86 if (value ==
_begin[1])
return 1;
87 if (value ==
_begin[2])
return 2;
88 if (value ==
_begin[3])
return 3;
89 assert(
"FindIndexIn4Tuple() did not find expected value!" == 0);
110 using namespace OPENSUBDIV_VERSION;
Array(const Array< value_type > &array)
size_type FindIndex(value_type value) const
reference operator[](int index)
const_iterator begin() const
const_iterator end() const
TYPE const * const_iterator
size_type FindIndexIn4Tuple(value_type value) const
const_reference operator[](int index) const
Array(const value_type *ptr, size_type size)
TYPE const & const_reference