LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 > | |
decltype(auto) | make_const_datarange_t (typename sparse_vector< T >::datarange_t &r) |
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 298 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 35 of file FindManyInChainP.h.
using lar::details::enable_if_type_exists_t = typedef typename enable_if_type_exists<T, R>::type |
Definition at line 32 of file FindManyInChainP.h.
using lar::details::index_constant = typedef std::integral_constant<std::size_t, Value> |
Definition at line 301 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 203 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 217 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 520 of file ProviderPack.h.
References indexOfBaseOf().
constexpr std::size_t lar::details::findDerivedFrom | ( | ) |
Definition at line 539 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 69 of file ProviderPack.h.
References indexOfBaseOf().
constexpr std::size_t lar::details::hasDerivedFrom | ( | ) |
Definition at line 75 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 573 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 514 of file ProviderPack.h.
Referenced by findBaseOf(), and hasBaseOf().
constexpr std::size_t lar::details::indexOfDerivedFrom | ( | ) |
Definition at line 533 of file ProviderPack.h.
Referenced by findDerivedFrom(), and hasDerivedFrom().
|
inline |
Internally used by LowestSetBit.
Definition at line 396 of file CountersMap.h.
Referenced by lar::LowestSetBit().
decltype(auto) lar::details::make_const_datarange_t | ( | typename sparse_vector< T >::datarange_t & | r | ) |
auto lar::details::makeCollectionExtremes | ( | BeginIter const & | b, |
EndIter const & | e | ||
) |
Helper to create a CollectionExtremes object from two iterators.
Definition at line 147 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 util::cbegin(), util::cend(), makeCollectionExtremes(), and makeCollectionView().
CollectionView< Range > lar::details::makeCollectionView | ( | Range && | range | ) |
Definition at line 444 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 84 of file hexfloat.h.