#include <ProductResolverIndexAndSkipBit.h>
Public Member Functions | |
bool | operator== (ProductResolverIndexAndSkipBit const &r) |
ProductResolverIndex | productResolverIndex () const |
ProductResolverIndexAndSkipBit (ProductResolverIndex productResolverIndex, 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 ProductResolverIndex 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 ProductResolverIndexAndSkipBit.h.
|
inline |
Definition at line 30 of file ProductResolverIndexAndSkipBit.h.
|
inline |
Definition at line 38 of file ProductResolverIndexAndSkipBit.h.
References value_.
|
inline |
Definition at line 32 of file ProductResolverIndexAndSkipBit.h.
References edm::ProductResolverIndexValuesBit, s_skipMask, and value_.
Referenced by edm::PrincipalGetAdapter::getByToken_().
|
inline |
Definition at line 36 of file ProductResolverIndexAndSkipBit.h.
References s_skipMask, and value_.
Referenced by edm::PrincipalGetAdapter::getByToken_().
|
staticprivate |
Definition at line 41 of file ProductResolverIndexAndSkipBit.h.
Referenced by productResolverIndex(), and skipCurrentProcess().
|
private |
Definition at line 43 of file ProductResolverIndexAndSkipBit.h.
Referenced by operator==(), productResolverIndex(), and skipCurrentProcess().