LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Namespace hiding implementation details. More...
Namespaces | |
bulk_allocator | |
Namespace specific to bulk allocator. | |
counters_map | |
type_traits | |
Typedefs | |
template<bool Value> | |
using | bool_constant = std::integral_constant< bool, Value > |
template<std::size_t Value> | |
using | index_constant = std::integral_constant< std::size_t, Value > |
template<typename T , typename R = void> | |
using | enable_if_type_exists_t = typename enable_if_type_exists< T, R >::type |
template<typename H , typename R = void> | |
using | enable_if_is_handle_t = enable_if_type_exists_t< typename std::decay_t< H >::HandleTag, R > |
Functions | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | indexOfBaseOf () |
Index of the class among Bases which is base of Derived. More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | indexOfDerivedFrom () |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | findBaseOf () |
Index of the class among Bases which is base of Derived. More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | findDerivedFrom () |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | hasBaseOf () |
Returns whether there is exactly one base class of Derived among Bases . More... | |
template<typename Derived , typename... Bases> | |
constexpr std::size_t | hasDerivedFrom () |
template<typename Provider , typename APack , typename BPack > | |
bool | haveSameProvider (APack const &a, BPack const &b) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, details::OptionalHexFloatFormatter< T > fmt) |
template<typename BeginIter , typename EndIter > | |
auto | makeCollectionExtremes (BeginIter const &b, EndIter const &e) |
Helper to create a CollectionExtremes object from two iterators. More... | |
template<typename Range > | |
auto | makeCollectionExtremes (Range const &range) |
Helper to create a CollectionExtremes object from a range object. More... | |
template<typename Range > | |
CollectionView< Range > | makeCollectionView (Range &&) |
constexpr int | LowestSetBitScaler (unsigned long long int v, int b) |
Internally used by LowestSetBit. More... | |
template<typename T > | |
std::string | demangle () |
Demangles the name of a type. More... | |
template<typename T > | |
std::string | demangle (const T &) |
Demangles the name of a type. More... | |
Namespace hiding implementation details.
using lar::details::bool_constant = typedef std::integral_constant<bool, Value> |
Definition at line 314 of file ProviderPack.h.
using lar::details::enable_if_is_handle_t = typedef enable_if_type_exists_t<typename std::decay_t<H>::HandleTag, R> |
Definition at line 38 of file FindManyInChainP.h.
using lar::details::enable_if_type_exists_t = typedef typename enable_if_type_exists<T, R>::type |
Definition at line 34 of file FindManyInChainP.h.
using lar::details::index_constant = typedef std::integral_constant<std::size_t, Value> |
Definition at line 317 of file ProviderPack.h.
std::string lar::details::demangle | ( | ) |
Demangles the name of a type.
T | type to be demangled |
[anonymous] | parameter to determine the type |
This function relies on GCC ABI; if there is no GCC, no demangling happens. One version of this function takes no parameters, and the type must be specified explicitly in the call. The other takes one parameter, that is not actually used but allows the compiler to understand which type to use. The following usese are equivalent:
Definition at line 205 of file BulkAllocator.h.
|
inline |
Demangles the name of a type.
T | type to be demangled |
[anonymous] | parameter to determine the type |
This function relies on GCC ABI; if there is no GCC, no demangling happens. One version of this function takes no parameters, and the type must be specified explicitly in the call. The other takes one parameter, that is not actually used but allows the compiler to understand which type to use. The following usese are equivalent:
Definition at line 218 of file BulkAllocator.h.
constexpr std::size_t lar::details::findBaseOf | ( | ) |
Index of the class among Bases which is base of Derived.
Derived | the class to be found |
Bases | a list of classes candidate to be the base of Derived |
static_assert | if none, or multiple classes, are base of Derived |
Definition at line 579 of file ProviderPack.h.
References indexOfBaseOf().
constexpr std::size_t lar::details::findDerivedFrom | ( | ) |
Definition at line 598 of file ProviderPack.h.
References indexOfDerivedFrom().
Referenced by lar::ProviderPack< Providers >::get(), and lar::ProviderPack< Providers >::set().
constexpr std::size_t lar::details::hasBaseOf | ( | ) |
Returns whether there is exactly one base class of Derived
among Bases
.
Derived | the class to be found |
Bases | a list of classes candidate to be the base of Derived |
Derived
static_assert | if multiple classes are base of Derived |
Definition at line 73 of file ProviderPack.h.
References indexOfBaseOf().
constexpr std::size_t lar::details::hasDerivedFrom | ( | ) |
Definition at line 77 of file ProviderPack.h.
References indexOfDerivedFrom().
Referenced by lar::ProviderPack< Providers >::has().
bool lar::details::haveSameProvider | ( | APack const & | a, |
BPack const & | b | ||
) |
Definition at line 635 of file ProviderPack.h.
constexpr std::size_t lar::details::indexOfBaseOf | ( | ) |
Index of the class among Bases which is base of Derived.
Derived | the class to be found |
Bases | a list of classes candidate to be the base of Derived |
static_assert | if multiple classes are base of Derived |
If no class among Bases
is actually a base class of Derived
, an invalid index is returned, greater than any valid index (that is, no smaller than sizeof...(Bases)
).
Definition at line 575 of file ProviderPack.h.
Referenced by findBaseOf(), and hasBaseOf().
constexpr std::size_t lar::details::indexOfDerivedFrom | ( | ) |
Definition at line 594 of file ProviderPack.h.
Referenced by findDerivedFrom(), and hasDerivedFrom().
|
inline |
Internally used by LowestSetBit.
Definition at line 402 of file CountersMap.h.
Referenced by lar::LowestSetBit().
auto lar::details::makeCollectionExtremes | ( | BeginIter const & | b, |
EndIter const & | e | ||
) |
Helper to create a CollectionExtremes object from two iterators.
Definition at line 149 of file CollectionView.h.
References e.
Referenced by makeCollectionExtremes(), and lar::makeCollectionView().
auto lar::details::makeCollectionExtremes | ( | Range const & | range | ) |
Helper to create a CollectionExtremes object from a range object.
Definition at line 155 of file CollectionView.h.
References makeCollectionExtremes(), and makeCollectionView().
CollectionView< Range > lar::details::makeCollectionView | ( | Range && | range | ) |
Definition at line 446 of file CollectionView.h.
Referenced by makeCollectionExtremes(), and lar::makeCollectionView().
std::ostream& lar::details::operator<< | ( | std::ostream & | os, |
details::OptionalHexFloatFormatter< T > | fmt | ||
) |
Definition at line 81 of file hexfloat.h.