LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Data structure containing constant pointers to classes. More...
#include <tuple>
#include <type_traits>
#include <limits>
Go to the source code of this file.
Namespaces | |
lar | |
LArSoft-specific namespace. | |
lar::details | |
Namespace hiding implementation details. | |
Typedefs | |
template<bool Value> | |
using | lar::details::bool_constant = std::integral_constant< bool, Value > |
template<std::size_t Value> | |
using | lar::details::index_constant = std::integral_constant< std::size_t, Value > |
Functions | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::indexOfBaseOf () |
Index of the class among Bases which is base of Derived. More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::indexOfDerivedFrom () |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::findBaseOf () |
Index of the class among Bases which is base of Derived. More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::findDerivedFrom () |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::hasBaseOf () |
Returns whether there is exactly one base class of Derived among Bases . More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | lar::details::hasDerivedFrom () |
template<typename... Providers> | |
ProviderPack< Providers... > | lar::makeProviderPack (Providers const *...providers) |
Function to create a ProviderPack from the function arguments. More... | |
template<typename... PackProviders, typename... MoreProviders> | |
ProviderPack< PackProviders..., MoreProviders... > | lar::expandProviderPack (ProviderPack< PackProviders... > const &pack, MoreProviders const *...providers) |
Function to create a ProviderPack by adding to another. More... | |
template<typename Provider , typename APack , typename BPack > | |
bool | lar::details::haveSameProvider (APack const &a, BPack const &b) |
Data structure containing constant pointers to classes.
This is a header-only library. It depends only on standard C++ and does not require additional linkage.
Definition in file ProviderPack.h.