LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A BoundaryListRangeBase
with a full container interface.
More...
#include "AssociatedData.h"
Public Types | |
using | boundary_iterator_t = BoundaryIter |
using | collection_type = range_t |
Type of collection being wrapped. More... | |
using | value_type = typename iter_traits_t::value_type |
using | const_reference = typename iter_traits_t::reference |
using | const_pointer = typename iter_traits_t::pointer |
using | const_iterator = begin_iter_t |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | difference_type = typename iter_traits_t::difference_type |
using | size_type = std::size_t |
Public Member Functions | |
BoundaryListRange (boundary_iterator_t const &iBegin) | |
Constructor: from an iterator to the begin iterator. More... | |
Forward access. | |
bool | empty () const noexcept |
Returns whether the collection is empty. More... | |
size_type | size () const noexcept |
Returns the size of the collection. More... | |
const_iterator | cbegin () const noexcept |
Returns an iterator to the begin of the collection. More... | |
end_iter_t | cend () const noexcept |
Returns an iterator past the end of the collection. More... | |
const_iterator | begin () const noexcept |
Returns an iterator to the begin of the collection. More... | |
end_iter_t | end () const noexcept |
Returns an iterator past the end of the collection. More... | |
auto | front () const -> decltype(auto) |
Returns the first element in the collection. More... | |
Backward access. | |
const_reverse_iterator | rbegin () const noexcept |
Returns a reverse iterator to the begin of the collection. More... | |
const_reverse_iterator | rend () const noexcept |
Returns a reverse iterator past the end of the collection. More... | |
const_reverse_iterator | crbegin () const noexcept |
Returns a reverse iterator to the begin of the collection. More... | |
const_reverse_iterator | crend () const noexcept |
Returns a reverse iterator past the end of the collection. More... | |
auto | back () const -> decltype(auto) |
Returns the last element in the collection. More... | |
Random access. | |
auto | operator[] (size_type i) const -> decltype(auto) |
Returns the content of the i -th element. More... | |
auto | at (size_type i) const -> decltype(auto) |
Returns the content of the i -th element. More... | |
Contiguous access. | |
const_pointer | data () const |
Private Types | |
using | rangebase_t = BoundaryListRangeBase< BoundaryIter > |
using | base_t = lar::CollectionView< rangebase_t > |
A BoundaryListRangeBase
with a full container interface.
Definition at line 519 of file AssociatedData.h.
|
private |
Definition at line 524 of file AssociatedData.h.
using proxy::details::BoundaryListRange< BoundaryIter >::boundary_iterator_t = BoundaryIter |
Definition at line 527 of file AssociatedData.h.
|
inherited |
Type of collection being wrapped.
Definition at line 299 of file CollectionView.h.
|
inherited |
Definition at line 307 of file CollectionView.h.
|
inherited |
Definition at line 305 of file CollectionView.h.
|
inherited |
Definition at line 303 of file CollectionView.h.
|
inherited |
Definition at line 309 of file CollectionView.h.
|
inherited |
Definition at line 310 of file CollectionView.h.
|
private |
Definition at line 523 of file AssociatedData.h.
|
inherited |
Definition at line 311 of file CollectionView.h.
|
inherited |
Definition at line 301 of file CollectionView.h.
|
inline |
Constructor: from an iterator to the begin iterator.
Definition at line 530 of file AssociatedData.h.
|
inlineinherited |
Returns the content of the i
-th element.
Definition at line 374 of file CollectionView.h.
References util::size(), and util::to_string().
|
inlineinherited |
Returns the last element in the collection.
Definition at line 363 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns an iterator to the begin of the collection.
Definition at line 337 of file CollectionView.h.
References util::cbegin().
|
inlinenoexceptinherited |
Returns an iterator to the begin of the collection.
Definition at line 323 of file CollectionView.h.
References util::cbegin().
|
inlinenoexceptinherited |
Returns an iterator past the end of the collection.
Definition at line 330 of file CollectionView.h.
References util::cend().
|
inlinenoexceptinherited |
Returns a reverse iterator to the begin of the collection.
Definition at line 357 of file CollectionView.h.
References util::cend().
|
inlinenoexceptinherited |
Returns a reverse iterator past the end of the collection.
Definition at line 360 of file CollectionView.h.
References util::cbegin().
|
inlineinherited |
Definition at line 388 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns whether the collection is empty.
Definition at line 317 of file CollectionView.h.
References util::cbegin(), and util::cend().
|
inlinenoexceptinherited |
Returns an iterator past the end of the collection.
Definition at line 340 of file CollectionView.h.
References util::cend().
|
inlineinherited |
Returns the first element in the collection.
Definition at line 343 of file CollectionView.h.
References util::cbegin().
|
inlineinherited |
Returns the content of the i
-th element.
Definition at line 371 of file CollectionView.h.
References util::cbegin().
|
inlinenoexceptinherited |
Returns a reverse iterator to the begin of the collection.
Definition at line 351 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns a reverse iterator past the end of the collection.
Definition at line 354 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns the size of the collection.
Definition at line 320 of file CollectionView.h.
References util::cbegin(), and util::cend().