PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
UserDataCollection.h File Reference
#include "podio/CollectionBase.h"
#include "podio/CollectionBuffers.h"
#include "podio/DatamodelRegistry.h"
#include "podio/utilities/TypeHelpers.h"
#include <map>
#include <string>
#include <typeindex>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  podio::UserDataCollection< BasicType, typename >
 

Namespaces

namespace  podio
 

Macros

#define PODIO_ADD_USER_TYPE(type)
 

Typedefs

using podio::SupportedUserDataTypes = std::tuple< float, double, int8_t, int16_t, int32_t, int64_t, uint8_t, uint16_t, uint32_t, uint64_t >
 
template<typename T >
using podio::EnableIfSupportedUserType = std::enable_if_t< detail::isInTuple< T, SupportedUserDataTypes > >
 

Functions

template<typename BasicType , typename = EnableIfSupportedUserType<BasicType>>
constexpr const char * podio::userDataTypeName ()
 
template<typename BasicType , typename = EnableIfSupportedUserType<BasicType>>
std::ostream & podio::operator<< (std::ostream &o, const podio::UserDataCollection< BasicType > &coll)
 

Macro Definition Documentation

◆ PODIO_ADD_USER_TYPE

#define PODIO_ADD_USER_TYPE (   type)
Value:
template <> \
constexpr const char* userDataTypeName<type>() { \
return #type; \
}

Definition at line 15 of file UserDataCollection.h.