Struct podio::SIOMapBlock

template<typename KeyT, typename ValueT>
struct SIOMapBlock : public sio::block

A block to serialize anything that behaves similar in iterating as a map<KeyT, ValueT>, e.g.

vector<tuple<KeyT, ValueT>>, which is what is used internally to represent the data to be written.

Public Functions

inline SIOMapBlock()
inline SIOMapBlock(std::vector<std::tuple<KeyT, ValueT>> &&data)
SIOMapBlock(const SIOMapBlock&) = delete
SIOMapBlock &operator=(const SIOMapBlock&) = delete
inline void read(sio::read_device &device, sio::version_type) override
inline void write(sio::write_device &device) override

Public Members

std::vector<std::tuple<KeyT, ValueT>> mapData = {}