LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::details::ContainerStorage< Cont, typename > Class Template Reference

#include "MappedContainer.h"

Inheritance diagram for util::details::ContainerStorage< Cont, typename >:
util::details::ContainerStorageBase< Cont >

Public Types

using Container_t = Cont
 
using Traits_t = details::ContainerTraits< Container_t >
 
using index_type = typename Traits_t::size_type
 
using value_type = typename Traits_t::value_type
 
using size_type = typename Traits_t::size_type
 
using difference_type = typename Traits_t::difference_type
 
using reference = typename Traits_t::reference
 
using const_reference = typename Traits_t::const_reference
 

Public Member Functions

decltype(auto) container () const
 
decltype(auto) container ()
 
auto size () const
 
decltype(auto) operator[] (index_type index)
 
decltype(auto) operator[] (index_type index) const
 

Public Attributes

Container_t fCont
 

Private Types

using Base_t = ContainerStorageBase< Cont >
 

Detailed Description

template<typename Cont, typename>
class util::details::ContainerStorage< Cont, typename >

Definition at line 36 of file MappedContainer.h.

Member Typedef Documentation

template<typename Cont, typename >
using util::details::ContainerStorage< Cont, typename >::Base_t = ContainerStorageBase<Cont>
private

Definition at line 480 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::const_reference = typename Traits_t::const_reference
inherited

Definition at line 454 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::Container_t = Cont
inherited

Definition at line 445 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::difference_type = typename Traits_t::difference_type
inherited

Definition at line 452 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::index_type = typename Traits_t::size_type
inherited

Definition at line 448 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::reference = typename Traits_t::reference
inherited

Definition at line 453 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::size_type = typename Traits_t::size_type
inherited

Definition at line 451 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::Traits_t = details::ContainerTraits<Container_t>
inherited

Definition at line 446 of file MappedContainer.h.

template<typename Cont>
using util::details::ContainerStorageBase< Cont >::value_type = typename Traits_t::value_type
inherited

Definition at line 450 of file MappedContainer.h.

Member Function Documentation

template<typename Cont>
decltype(auto) util::details::ContainerStorageBase< Cont >::container ( ) const
inlineinherited

Definition at line 462 of file MappedContainer.h.

decltype(auto) collection_from_reference(CollRef &collRef)
Returns the object referenced by collRef as a C++ reference.
template<typename Cont>
decltype(auto) util::details::ContainerStorageBase< Cont >::container ( )
inlineinherited

Definition at line 463 of file MappedContainer.h.

decltype(auto) collection_from_reference(CollRef &collRef)
Returns the object referenced by collRef as a C++ reference.
template<typename Cont>
decltype(auto) util::details::ContainerStorageBase< Cont >::operator[] ( index_type  index)
inlineinherited

Definition at line 471 of file MappedContainer.h.

471 { return container()[index]; }
decltype(auto) container() const
template<typename Cont>
decltype(auto) util::details::ContainerStorageBase< Cont >::operator[] ( index_type  index) const
inlineinherited

Definition at line 472 of file MappedContainer.h.

472 { return container()[index]; }
decltype(auto) container() const
template<typename Cont>
auto util::details::ContainerStorageBase< Cont >::size ( ) const
inlineinherited

Definition at line 465 of file MappedContainer.h.

466  {
467  using std::size;
468  return size(container());
469  }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101
decltype(auto) container() const

Member Data Documentation

template<typename Cont>
Container_t util::details::ContainerStorageBase< Cont >::fCont
inherited

Definition at line 456 of file MappedContainer.h.


The documentation for this class was generated from the following file: