|
| Frame () |
|
template<typename FrameDataT > |
| Frame (std::unique_ptr< FrameDataT >) |
|
template<typename FrameDataT , typename = EnableIfRValue<FrameDataT>> |
| Frame (FrameDataT &&) |
|
| Frame (const Frame &)=delete |
|
Frame & | operator= (const Frame &)=delete |
|
| Frame (Frame &&)=default |
|
Frame & | operator= (Frame &&)=default |
|
| ~Frame ()=default |
|
template<typename CollT , typename = EnableIfCollection<CollT>> |
const CollT & | get (const std::string &name) const |
|
const podio::CollectionBase * | get (const std::string &name) const |
|
template<typename CollT , typename = EnableIfCollectionRValue<CollT>> |
const CollT & | put (CollT &&coll, const std::string &name) |
|
void | put (std::unique_ptr< podio::CollectionBase > coll, const std::string &name) |
|
template<typename T , typename = podio::EnableIfValidGenericDataType<T>> |
void | putParameter (const std::string &key, T value) |
|
void | putParameter (const std::string &key, std::string value) |
|
void | putParameter (const std::string &key, std::vector< std::string > values) |
|
template<typename T , typename = std::enable_if_t<detail::isInTuple<T, SupportedGenericDataTypes>>> |
void | putParameter (const std::string &key, std::initializer_list< T > &&values) |
|
template<typename T , typename = podio::EnableIfValidGenericDataType<T>> |
podio::GenericDataReturnType< T > | getParameter (const std::string &key) const |
|
const podio::GenericParameters & | getParameters () const |
|
template<typename T , typename = podio::EnableIfValidGenericDataType<T>> |
std::vector< std::string > | getParameterKeys () const |
|
std::vector< std::string > | getAvailableCollections () const |
|
const podio::GenericParameters & | getGenericParametersForWrite () const |
|
const podio::CollectionBase * | getCollectionForWrite (const std::string &name) const |
|
podio::CollectionIDTable | getCollectionIDTableForWrite () const |
|
Frame class that serves as a container of collection and meta data.
Definition at line 68 of file Frame.h.
template<typename FrameDataT , typename >
podio::Frame::Frame |
( |
FrameDataT && |
data | ) |
|
Frame constructor from (almost) arbitrary raw data.
This r-value overload is mainly present for enabling the python bindings, where cppyy seems to strip the std::unique_ptr somewhere in the process
Definition at line 293 of file Frame.h.
293 :
Frame(std::make_unique<FrameDataT>(std::move(data))) {
294}
template<typename T , typename = std::enable_if_t<detail::isInTuple<T, SupportedGenericDataTypes>>>
void podio::Frame::putParameter |
( |
const std::string & |
key, |
|
|
std::initializer_list< T > && |
values |
|
) |
| |
|
inline |
Add a vector of values into the parameters of the Frame. Overload for catching on-the-fly conversions of initializer_lists of values.
Definition at line 224 of file Frame.h.
224 {
225 putParameter<std::vector<T>>(key, std::move(values));
226 }