23 template <
typename STLCONTAINER>
41 operator const STLCONTAINER&()
const {
return m_source; }
43 const typename STLCONTAINER::value_type&
operator[](
const int i)
const
53 typename STLCONTAINER::const_reverse_iterator
rbegin()
const
57 typename STLCONTAINER::const_reverse_iterator
rend()
const
const Scalar * const_iterator
GLsizei GLsizei GLchar * source
#define ASSERT_EQUAL_(__A, __B)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A generic proxy accessor template that only allows read-only access to the original binded STL contai...
const STLCONTAINER::value_type & operator[](const int i) const
ContainerReadOnlyProxyAccessor< STLCONTAINER > & operator=(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &o)
Don't copy the reference to the source object, but copy the contained data.
ContainerReadOnlyProxyAccessor(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &)=delete
(Deleted ctor) ignore copies (keep reference to original object)
STLCONTAINER::const_iterator end() const
STLCONTAINER::const_iterator begin() const
ContainerReadOnlyProxyAccessor(STLCONTAINER &source)
ctor: binds to source object
STLCONTAINER::const_reverse_iterator rbegin() const
STLCONTAINER::const_reverse_iterator rend() const