#include <L1MuPacking.h>
Public Member Functions | |
virtual int | idxFromPacked (unsigned packed) const =0 |
get the value from the packed notation More... | |
virtual unsigned | packedFromIdx (int idx) const =0 |
get the packed notation of a value More... | |
virtual int | signFromPacked (unsigned packed) const =0 |
get the sign from the packed notation (0=positive, 1=negative) More... | |
virtual | ~L1MuPacking () |
Abstract Packing of an int in a bit-field
Definition at line 32 of file L1MuPacking.h.
|
inlinevirtual |
Definition at line 34 of file L1MuPacking.h.
|
pure virtual |
get the value from the packed notation
Implemented in L1MuPseudoSignedPacking, L1MuSignedPacking< Bits >, and L1MuUnsignedPacking< Bits >.
|
pure virtual |
get the packed notation of a value
Implemented in L1MuPseudoSignedPacking, L1MuSignedPacking< Bits >, and L1MuUnsignedPacking< Bits >.
|
pure virtual |
get the sign from the packed notation (0=positive, 1=negative)
Implemented in L1MuPseudoSignedPacking, L1MuSignedPacking< Bits >, and L1MuUnsignedPacking< Bits >.