LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 534 of file AssociatedData.h.
|
private |
Definition at line 541 of file AssociatedData.h.
using proxy::details::BoundaryListRange< BoundaryIter >::boundary_iterator_t = BoundaryIter |
Definition at line 543 of file AssociatedData.h.
|
inherited |
Type of collection being wrapped.
Definition at line 300 of file CollectionView.h.
|
inherited |
Definition at line 308 of file CollectionView.h.
|
inherited |
Definition at line 306 of file CollectionView.h.
|
inherited |
Definition at line 304 of file CollectionView.h.
|
inherited |
Definition at line 310 of file CollectionView.h.
|
inherited |
Definition at line 311 of file CollectionView.h.
|
private |
Definition at line 540 of file AssociatedData.h.
|
inherited |
Definition at line 312 of file CollectionView.h.
|
inherited |
Definition at line 302 of file CollectionView.h.
|
inline |
Constructor: from an iterator to the begin iterator.
Definition at line 546 of file AssociatedData.h.
References proxy::details::makeBoundaryListRange().
|
inlineinherited |
Returns the content of the i
-th element.
Definition at line 372 of file CollectionView.h.
References util::flags::to_string().
|
inlineinherited |
Returns the last element in the collection.
Definition at line 360 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns an iterator to the begin of the collection.
Definition at line 332 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns an iterator to the begin of the collection.
Definition at line 324 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns an iterator past the end of the collection.
Definition at line 328 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns a reverse iterator to the begin of the collection.
Definition at line 352 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns a reverse iterator past the end of the collection.
Definition at line 356 of file CollectionView.h.
|
inlineinherited |
Definition at line 388 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns whether the collection is empty.
Definition at line 318 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns an iterator past the end of the collection.
Definition at line 335 of file CollectionView.h.
|
inlineinherited |
Returns the first element in the collection.
Definition at line 338 of file CollectionView.h.
|
inlineinherited |
Returns the content of the i
-th element.
Definition at line 368 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns a reverse iterator to the begin of the collection.
Definition at line 346 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns a reverse iterator past the end of the collection.
Definition at line 349 of file CollectionView.h.
|
inlinenoexceptinherited |
Returns the size of the collection.
Definition at line 321 of file CollectionView.h.