#include <HLTExtraData.h>
Public Member Functions | |
HLTExtraData () | |
HLTExtraData (const std::vector< uint32_t > &storage) | |
HLTExtraData (const HLTExtraData &) | |
copy ctor | |
HLTExtraData (HLTExtraData &&) | |
move ctor | |
HLTExtraData & | operator= (HLTExtraData) |
unified assignement op | |
void | serialize (std::vector< uint32_t > &storage) |
void | deserialize (const std::vector< uint32_t > &storage) |
Public Attributes | |
std::string | appName |
application name | |
uint32_t | statusCode |
various status codes (for prescale/COOL updates) | |
std::vector< uint32_t > | anonymous |
For future use-cases (only use as last resort). | |
Friends | |
void | swap (HLTExtraData &, HLTExtraData &) |
Class representing the HLT extra payload stored in HLT::HLTResult::getExtras()
The members storing the data are public. New members should be added whenever additional storage is needed. The reserved anonymous member should only be used as a last resort.
If all members of this class are set to their default values (see empty()) a call to serialize() will do nothing. A deserialization from empty storage will result in a default constructed object.
Whenever you modify this class run 'make check'.
HLTExtraData::HLTExtraData | ( | ) |
Construct empty object
HLTExtraData::HLTExtraData | ( | const std::vector< uint32_t > & | storage | ) |
Construct from storage and fill members
void HLT::HLTExtraData::deserialize | ( | const std::vector< uint32_t > & | storage | ) |
Deserialize storage into members
void HLT::HLTExtraData::serialize | ( | std::vector< uint32_t > & | storage | ) |
Serialize the data and append it to the vector