Go to the documentation of this file.
21 template <
typename STLCONTAINER>
39 operator const STLCONTAINER&()
const {
return m_source; }
41 const typename STLCONTAINER::value_type&
operator[](
const int i)
const
46 typename STLCONTAINER::const_iterator
begin()
const
50 typename STLCONTAINER::const_iterator
end()
const {
return m_source.end(); }
51 typename STLCONTAINER::const_reverse_iterator
rbegin()
const
55 typename STLCONTAINER::const_reverse_iterator
rend()
const
ContainerReadOnlyProxyAccessor(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &)=delete
(Deleted ctor) ignore copies (keep reference to original object)
STLCONTAINER::const_iterator end() const
#define ASSERT_EQUAL_(__A, __B)
Assert comparing two values, reporting their actual values upon failure.
ContainerReadOnlyProxyAccessor< STLCONTAINER > & operator=(const ContainerReadOnlyProxyAccessor< STLCONTAINER > &o)
Don't copy the reference to the source object, but copy the contained data.
ContainerReadOnlyProxyAccessor(STLCONTAINER &source)
ctor: binds to source object
STLCONTAINER::const_iterator begin() const
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
STLCONTAINER::const_reverse_iterator rend() const
STLCONTAINER::const_reverse_iterator rbegin() const
Page generated by Doxygen 1.8.18 for MRPT 2.0.4 at Thu Sep 24 07:14:18 UTC 2020 | |