LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
proxy::CollectionProxyMakerTraits< Proxy, Selector > Struct Template Reference

Collection of data type definitions for collection proxies. More...

#include "CollectionProxyMaker.h"

Detailed Description

template<typename Proxy, typename Selector = Proxy>
struct proxy::CollectionProxyMakerTraits< Proxy, Selector >

Collection of data type definitions for collection proxies.

Template Parameters
Proxytype of proxy the traits refer to
Selectorspecialization helper type

Expected traits:

  • main_collection_t: type of the main data product collection
  • main_element_t: type contained in the main data product collection
  • main_collection_proxy_t: type wrapping the main data product collection
  • collection_proxy_impl_t: type of implementation object used for the proxy; to use proxy::CollectionProxy, define this as: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cpp} template <typename... Args> using collection_proxy_impl_t = proxy::CollectionProxyFromArgs<Args...>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This trait is treated as optional by the default CollectionProxyMaker implementation, which uses proxy::CollectionProxy if the trait is missing.

Note that the Proxy type is expected to be the same type as used in getCollection() calls, and does not need to match the actual type of a proxy collection.

Definition at line 56 of file CollectionProxyMaker.h.


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