LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CollectionProxy.h File Reference

Utilities for the collection proxy object. More...

#include "larcorealg/CoreUtils/ContainerMeta.h"
#include "lardata/RecoBaseProxy/ProxyBase/CollectionProxyElement.h"
#include "lardata/RecoBaseProxy/ProxyBase/MainCollectionProxy.h"
#include "lardata/Utilities/TupleLookupByTag.h"
#include <cstdlib>
#include <limits>
#include <tuple>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  proxy::details::IndexBasedIterator< Cont >
 Iterator to random access collection storing a current index. More...
 
struct  proxy::details::TemplateAdaptorOnePlus< F,... >
 
class  proxy::CollectionProxyBase< Element, MainColl, AuxColls >
 Base representation of a collection of proxied objects. More...
 
class  proxy::details::IndexBasedIterator< Cont >
 Iterator to random access collection storing a current index. More...
 
struct  proxy::details::TemplateAdaptorOnePlus< F, First, Others... >
 

Namespaces

 proxy
 Encloses LArSoft data product proxy objects and utilities.See this doxygen module for an introduction to data proxies in LArSoft.
 
 proxy::details
 

Typedefs

template<typename MainColl , typename... AuxColls>
using proxy::CollectionProxy = CollectionProxyBase< CollectionProxyElement, MainColl, AuxColls... >
 Base representation of a collection of proxied objects. More...
 
template<typename... Args>
using proxy::CollectionProxyFromArgs = typename details::TemplateAdaptorOnePlus< CollectionProxy, Args... >::type
 

Functions

template<template< typename... > class CollProxy, typename MainColl , typename... AuxColl>
auto proxy::details::createCollectionProxy (MainColl const &main, AuxColl &&...aux)
 Creates a collection proxy of a specified type with the given arguments. More...
 
template<typename MainColl , typename... AuxColl>
auto proxy::details::makeCollectionProxy (MainColl const &main, AuxColl &&...aux)
 Creates a CollectionProxy object with the given arguments. More...
 

Detailed Description

Utilities for the collection proxy object.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
July 27, 2017
See also
lardata/RecoBaseProxy/ProxyBase.h

This library is header-only.

Definition in file CollectionProxy.h.