21 template <
typename STLCONTAINER>
39 operator const STLCONTAINER&()
const {
return m_source; }
41 const typename STLCONTAINER::value_type&
operator[](
const int i)
const
51 typename STLCONTAINER::const_reverse_iterator
rbegin()
const
55 typename STLCONTAINER::const_reverse_iterator
rend()
const
const Scalar * const_iterator
#define ASSERT_EQUAL_(__A, __B)
Assert comparing two values, reporting their actual values upon failure.
GLsizei GLsizei GLchar * source
A generic proxy accessor template that only allows read-only access to the original binded STL contai...
STLCONTAINER::const_reverse_iterator rbegin() const
ContainerReadOnlyProxyAccessor< STLCONTAINER > & operator=(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &o)
Don't copy the reference to the source object, but copy the contained data.
STLCONTAINER::const_reverse_iterator rend() const
ContainerReadOnlyProxyAccessor(STLCONTAINER &source)
ctor: binds to source object
const STLCONTAINER::value_type & operator[](const int i) const
ContainerReadOnlyProxyAccessor(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &)=delete
(Deleted ctor) ignore copies (keep reference to original object)
STLCONTAINER::const_iterator begin() const
STLCONTAINER::const_iterator end() const