![]() |
ATLAS Offline Software
|
Class representing the HLT extra payload stored in HLT::HLTResult::getExtras() More...
#include <HLTExtraData.h>
Public Member Functions | |
| HLTExtraData () | |
| Construct empty object. More... | |
| HLTExtraData (const std::vector< uint32_t > &storage) | |
| Construct from storage and fill members. More... | |
| HLTExtraData (const HLTExtraData &) | |
| copy ctor More... | |
| HLTExtraData (HLTExtraData &&) | |
| move ctor More... | |
| HLTExtraData & | operator= (HLTExtraData) |
| unified assignement op More... | |
| void | serialize (std::vector< uint32_t > &storage) |
| Serialize the data and append it to the vector. More... | |
| void | deserialize (const std::vector< uint32_t > &storage) |
| Deserialize storage into members. More... | |
Public Attributes | |
| std::string | appName |
| application name More... | |
| uint32_t | statusCode |
| various status codes (for prescale/COOL updates) More... | |
| std::vector< uint32_t > | anonymous |
| For future use-cases (only use as last resort) More... | |
Private Member Functions | |
| bool | empty () |
| Return true if all members have default values (no serialization needed) More... | |
Private Attributes | |
| TrigSteeringEvent::StringSerializer | m_stringSerializer |
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'.
Definition at line 36 of file HLTExtraData.h.
| HLTExtraData::HLTExtraData | ( | ) |
Construct empty object.
Definition at line 17 of file HLTExtraData.cxx.
| HLTExtraData::HLTExtraData | ( | const std::vector< uint32_t > & | storage | ) |
Construct from storage and fill members.
Definition at line 22 of file HLTExtraData.cxx.
| HLTExtraData::HLTExtraData | ( | const HLTExtraData & | rhs | ) |
| HLTExtraData::HLTExtraData | ( | HLTExtraData && | rhs | ) |
move ctor
Definition at line 35 of file HLTExtraData.cxx.
| void HLTExtraData::deserialize | ( | const std::vector< uint32_t > & | storage | ) |
|
inlineprivate |
Return true if all members have default values (no serialization needed)
Definition at line 71 of file HLTExtraData.h.
| HLTExtraData & HLTExtraData::operator= | ( | HLTExtraData | rhs | ) |
unified assignement op
Definition at line 41 of file HLTExtraData.cxx.
| void HLTExtraData::serialize | ( | std::vector< uint32_t > & | storage | ) |
|
friend |
| std::vector<uint32_t> HLT::HLTExtraData::anonymous |
For future use-cases (only use as last resort)
Definition at line 66 of file HLTExtraData.h.
| std::string HLT::HLTExtraData::appName |
application name
Definition at line 64 of file HLTExtraData.h.
|
private |
Definition at line 75 of file HLTExtraData.h.
| uint32_t HLT::HLTExtraData::statusCode |
various status codes (for prescale/COOL updates)
Definition at line 65 of file HLTExtraData.h.
1.8.18