![]() |
ATLAS Offline Software
|
#include <SpecRegistry.h>
Public Attributes | |
| std::size_t | width {0} |
| Total width of the packed word, in bits. | |
| std::function< std::string(const SG::AuxElement &)> | pack |
| Pack one object into its hex token. | |
| std::function< void(SG::AuxElement &, const std::string &)> | unpack |
| Fill one object from its hex token. | |
Definition at line 28 of file SpecRegistry.h.
| std::function<std::string(const SG::AuxElement&)> GlobalSim::SpecEntry::pack |
Pack one object into its hex token.
Definition at line 34 of file SpecRegistry.h.
| std::function<void(SG::AuxElement&, const std::string&)> GlobalSim::SpecEntry::unpack |
Fill one object from its hex token.
The caller must pass exactly width/4 hex characters – a longer token would be silently truncated by std::bitset, so the length is checked where the file is read.
Definition at line 39 of file SpecRegistry.h.
| std::size_t GlobalSim::SpecEntry::width {0} |
Total width of the packed word, in bits.
Always a multiple of four, so a token is width/4 hex characters.
Definition at line 31 of file SpecRegistry.h.