1 #ifndef art_Framework_Principal_View_h 2 #define art_Framework_Principal_View_h 21 #include "cetlib/container_algorithms.h" 28 class ProductRetriever;
35 template <
typename Element>
39 View<Element>&)
const;
46 using size_type =
typename collection_type::size_type;
54 return prod_ !=
nullptr;
79 operator auto &() noexcept {
return vals_; }
80 operator auto const&()
const noexcept {
return vals_; }
109 return vals_.cbegin();
136 template <
typename T>
143 template <
typename T>
150 typename std::vector<T const*>::size_type i{};
158 if (cet::search_all(
vals_, a)) {
auto const & vals() const noexcept
auto end() const noexcept
typename collection_type::const_iterator const_iterator
void emplace_back(Args &&...args)
void fill(PtrVector< T > &pv) const
auto begin() const noexcept
virtual std::vector< void const * > getView() const
std::vector< T const * > collection_type
std::vector< T const * > vals_
typename collection_type::iterator iterator
std::size_t getView(std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName, std::vector< ELEMENT const * > &result) const
auto size() const noexcept
auto isValid() const noexcept
auto cbegin() const noexcept
auto cend() const noexcept
typename collection_type::value_type value_type
typename collection_type::size_type size_type