NVBIO
|
Wrapper class to create a "vector"-like container on top of a generic base iterator. See VectorWrapperExampleSection.
Iterator | base iterator type |
Definition at line 88 of file vector_view.h.
#include <vector_view.h>
Public Types | |
typedef Iterator | iterator |
typedef Iterator | const_iterator |
typedef iterator_traits < Iterator >::forward_iterator | forward_iterator |
typedef iterator_traits < Iterator >::value_type | value_type |
typedef iterator_traits < Iterator >::reference | reference |
typedef to_const< reference >::type | const_reference |
typedef iterator_traits < Iterator >::pointer | pointer |
typedef IndexType | size_type |
typedef IndexType | index_type |
typedef iterator_traits < Iterator >::difference_type | difference_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef vector_view< Iterator, IndexType > | plain_view_type |
typedef vector_view< Iterator, IndexType > | const_plain_view_type |
Public Members | |
IndexType | m_size |
Iterator | m_vec |
typedef Iterator nvbio::vector_view< Iterator, IndexType >::const_iterator |
Definition at line 91 of file vector_view.h.
typedef vector_view<Iterator,IndexType> nvbio::vector_view< Iterator, IndexType >::const_plain_view_type |
Definition at line 104 of file vector_view.h.
typedef to_const<reference>::type nvbio::vector_view< Iterator, IndexType >::const_reference |
Definition at line 96 of file vector_view.h.
typedef iterator_traits<Iterator>::difference_type nvbio::vector_view< Iterator, IndexType >::difference_type |
Definition at line 100 of file vector_view.h.
typedef iterator_traits<Iterator>::forward_iterator nvbio::vector_view< Iterator, IndexType >::forward_iterator |
Definition at line 92 of file vector_view.h.
typedef IndexType nvbio::vector_view< Iterator, IndexType >::index_type |
Definition at line 99 of file vector_view.h.
typedef Iterator nvbio::vector_view< Iterator, IndexType >::iterator |
Definition at line 90 of file vector_view.h.
typedef std::random_access_iterator_tag nvbio::vector_view< Iterator, IndexType >::iterator_category |
Definition at line 101 of file vector_view.h.
typedef vector_view<Iterator,IndexType> nvbio::vector_view< Iterator, IndexType >::plain_view_type |
Definition at line 103 of file vector_view.h.
typedef iterator_traits<Iterator>::pointer nvbio::vector_view< Iterator, IndexType >::pointer |
Definition at line 97 of file vector_view.h.
typedef iterator_traits<Iterator>::reference nvbio::vector_view< Iterator, IndexType >::reference |
Definition at line 95 of file vector_view.h.
typedef IndexType nvbio::vector_view< Iterator, IndexType >::size_type |
Definition at line 98 of file vector_view.h.
typedef iterator_traits<Iterator>::value_type nvbio::vector_view< Iterator, IndexType >::value_type |
Definition at line 94 of file vector_view.h.
|
inline |
constructor
Definition at line 109 of file vector_view.h.
|
inline |
constructor
Definition at line 114 of file vector_view.h.
|
inline |
return reference to back
Definition at line 174 of file vector_view.h.
|
inline |
return reference to back
Definition at line 179 of file vector_view.h.
|
inline |
return the base iterator
Definition at line 184 of file vector_view.h.
|
inline |
return begin iterator
Definition at line 189 of file vector_view.h.
|
inline |
return begin iterator
Definition at line 199 of file vector_view.h.
|
inline |
clear
Definition at line 124 of file vector_view.h.
|
inline |
return true iff size is null
Definition at line 139 of file vector_view.h.
|
inline |
return end iterator
Definition at line 194 of file vector_view.h.
|
inline |
return end iterator
Definition at line 204 of file vector_view.h.
|
inline |
return reference to front
Definition at line 164 of file vector_view.h.
|
inline |
return reference to front
Definition at line 169 of file vector_view.h.
|
inline |
return vector size
Definition at line 134 of file vector_view.h.
|
inline |
automatic conversion to the basic iterator type
Definition at line 209 of file vector_view.h.
|
inline |
dereference operator
Definition at line 144 of file vector_view.h.
|
inline |
dereference operator
Definition at line 149 of file vector_view.h.
|
inline |
const indexing operator
Definition at line 154 of file vector_view.h.
|
inline |
indexing operator
Definition at line 159 of file vector_view.h.
|
inline |
pop back
Definition at line 219 of file vector_view.h.
|
inline |
push back
Definition at line 214 of file vector_view.h.
|
inline |
resize the vector
Definition at line 119 of file vector_view.h.
|
inline |
return vector size
Definition at line 129 of file vector_view.h.
IndexType nvbio::vector_view< Iterator, IndexType >::m_size |
Definition at line 221 of file vector_view.h.
Iterator nvbio::vector_view< Iterator, IndexType >::m_vec |
Definition at line 222 of file vector_view.h.