#include <ProductHolderIndexAndSkipBit.h>
Public Member Functions | |
bool | operator== (ProductHolderIndexAndSkipBit const &r) |
ProductHolderIndex | productHolderIndex () const |
ProductHolderIndexAndSkipBit (ProductHolderIndex productHolderIndex, bool skipCurrentProcess) | |
bool | skipCurrentProcess () const |
Private Attributes | |
unsigned int | value_ |
Static Private Attributes | |
static const unsigned int | s_skipMask = 1U << 31 |
Description: This class holds a ProductIndexHolder and a boolean value to indicate whether the skipCurrentProcess option was set. Internally it bit packs them in an unsigned int. There is a little extra complexity in the implementation to hide the fact that some special values of ProductHolderIndex use the same bit we use for skipCurrentProcess.
Usage: EDConsumerBase use this and pass a container of them to the Workers to let them know what data will be consumed.
Definition at line 28 of file ProductHolderIndexAndSkipBit.h.
|
inline |
Definition at line 30 of file ProductHolderIndexAndSkipBit.h.
|
inline |
Definition at line 40 of file ProductHolderIndexAndSkipBit.h.
References value_.
|
inline |
Definition at line 33 of file ProductHolderIndexAndSkipBit.h.
References edm::ProductHolderIndexValuesBit, s_skipMask, and value_.
Referenced by edm::PrincipalGetAdapter::getByToken_().
|
inline |
Definition at line 38 of file ProductHolderIndexAndSkipBit.h.
References s_skipMask, and value_.
Referenced by edm::PrincipalGetAdapter::getByToken_().
|
staticprivate |
Definition at line 45 of file ProductHolderIndexAndSkipBit.h.
Referenced by productHolderIndex(), and skipCurrentProcess().
|
private |
Definition at line 47 of file ProductHolderIndexAndSkipBit.h.
Referenced by operator==(), productHolderIndex(), and skipCurrentProcess().