PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
podio::detail Namespace Reference

Classes

struct  EmptyFrameData
 
struct  GenericDataReturnTypeHelper
 
struct  GenericDataReturnTypeHelper< std::string >
 Specialization for std::string. Those will always be returned by const ref. More...
 
struct  GenericDataReturnTypeHelper< std::vector< T > >
 Specialization for std::vector. Those will always be returned by const ref. More...
 
struct  GetVectorTypeHelper
 
struct  GetVectorTypeHelper< std::vector< T > >
 
struct  IsMapHelper
 
struct  IsMapHelper< std::map< K, V > >
 
struct  IsMapHelper< std::unordered_map< K, V > >
 
struct  IsVectorHelper
 
struct  IsVectorHelper< std::vector< T > >
 
struct  MapLikeTypeHelper
 
struct  MapLikeTypeHelper< T, std::bool_constant< false >, std::bool_constant< true > >
 
struct  MapLikeTypeHelper< T, std::bool_constant< true >, std::bool_constant< false > >
 
struct  ToTupleOfTemplateHelper
 
struct  ToTupleOfTemplateHelper< Template, std::tuple< Ts... > >
 
struct  TypeInTupleHelper
 
struct  TypeInTupleHelper< T, std::tuple< Ts... > >
 

Typedefs

using CollectionInfo = std::tuple< const TClass *, const TClass *, size_t >
 
template<typename Tuple >
using TupleOfVector = typename ToTupleOfTemplateHelper< std::vector, Tuple >::type
 
template<typename... Tuples>
using TupleCatType = decltype(std::tuple_cat(std::declval< Tuples >()...))
 
template<typename T >
using GetVectorType = typename GetVectorTypeHelper< T >::type
 
template<typename T >
using GetKeyType = typename MapLikeTypeHelper< T >::key_type
 
template<typename T >
using GetMappedType = typename MapLikeTypeHelper< T >::mapped_type
 

Typedef Documentation

◆ CollectionInfo

typedef std::tuple< const TClass *, const TClass *, size_t > podio::detail::CollectionInfo

Definition at line 30 of file ROOTFrameReader.h.

◆ GetKeyType

template<typename T >
using podio::detail::GetKeyType = typedef typename MapLikeTypeHelper<T>::key_type

Type aliases for easier usage in actual code

Definition at line 156 of file TypeHelpers.h.

◆ GetMappedType

template<typename T >
using podio::detail::GetMappedType = typedef typename MapLikeTypeHelper<T>::mapped_type

Definition at line 159 of file TypeHelpers.h.

◆ GetVectorType

template<typename T >
using podio::detail::GetVectorType = typedef typename GetVectorTypeHelper<T>::type

Definition at line 88 of file TypeHelpers.h.

◆ TupleCatType

template<typename... Tuples>
using podio::detail::TupleCatType = typedef decltype(std::tuple_cat(std::declval<Tuples>()...))

Alias template to get the type of a tuple resulting from a concatenation of tuples See: https://devblogs.microsoft.com/oldnewthing/20200622-00/?p=103900

Definition at line 63 of file TypeHelpers.h.

◆ TupleOfVector

template<typename Tuple >
using podio::detail::TupleOfVector = typedef typename ToTupleOfTemplateHelper<std::vector, Tuple>::type

Type alias to turn a tuple of types into a tuple of vector of types

Definition at line 55 of file TypeHelpers.h.