CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
edm::PoolOutputModule::OutputItem Struct Reference

#include <PoolOutputModule.h>

Classes

class  Sorter
 

Public Member Functions

int basketSize () const
 
BranchDescription const * branchDescription () const
 
BranchID branchID () const
 
std::string const & branchName () const
 
bool operator< (OutputItem const &rh) const
 
 OutputItem ()
 
 OutputItem (BranchDescription const *bd, EDGetToken const &token, int splitLevel, int basketSize)
 
void const *& product ()
 
void const *const product () const
 
void setProduct (void const *iProduct)
 
int splitLevel () const
 
EDGetToken token () const
 
 ~OutputItem ()
 

Private Attributes

int basketSize_
 
BranchDescription const * branchDescription_
 
void const * product_
 
int splitLevel_
 
EDGetToken token_
 

Detailed Description

Definition at line 78 of file PoolOutputModule.h.

Constructor & Destructor Documentation

◆ OutputItem() [1/2]

edm::PoolOutputModule::OutputItem::OutputItem ( )

Definition at line 122 of file PoolOutputModule.cc.

◆ OutputItem() [2/2]

edm::PoolOutputModule::OutputItem::OutputItem ( BranchDescription const *  bd,
EDGetToken const &  token,
int  splitLevel,
int  basketSize 
)
explicit

Definition at line 129 of file PoolOutputModule.cc.

◆ ~OutputItem()

edm::PoolOutputModule::OutputItem::~OutputItem ( )
inline

Definition at line 92 of file PoolOutputModule.h.

92 {}

Member Function Documentation

◆ basketSize()

int edm::PoolOutputModule::OutputItem::basketSize ( ) const
inline

Definition at line 105 of file PoolOutputModule.h.

105 { return basketSize_; }

References basketSize_.

Referenced by edm::PoolOutputModule::fillSelectedItemList().

◆ branchDescription()

BranchDescription const* edm::PoolOutputModule::OutputItem::branchDescription ( ) const
inline

Definition at line 99 of file PoolOutputModule.h.

99 { return branchDescription_; }

References branchDescription_.

◆ branchID()

BranchID edm::PoolOutputModule::OutputItem::branchID ( ) const
inline

◆ branchName()

std::string const& edm::PoolOutputModule::OutputItem::branchName ( ) const
inline

Definition at line 95 of file PoolOutputModule.h.

95 { return branchDescription_->branchName(); }

References branchDescription_, and edm::BranchDescription::branchName().

◆ operator<()

bool edm::PoolOutputModule::OutputItem::operator< ( OutputItem const &  rh) const
inline

Definition at line 97 of file PoolOutputModule.h.

97 { return *branchDescription_ < *rh.branchDescription_; }

References branchDescription_.

◆ product() [1/2]

void const*& edm::PoolOutputModule::OutputItem::product ( )
inline

Definition at line 102 of file PoolOutputModule.h.

102 { return product_; }

References product_.

◆ product() [2/2]

void const* const edm::PoolOutputModule::OutputItem::product ( ) const
inline

Definition at line 101 of file PoolOutputModule.h.

101 { return product_; }

References product_.

◆ setProduct()

void edm::PoolOutputModule::OutputItem::setProduct ( void const *  iProduct)
inline

Definition at line 103 of file PoolOutputModule.h.

103 { product_ = iProduct; }

References product_.

◆ splitLevel()

int edm::PoolOutputModule::OutputItem::splitLevel ( ) const
inline

Definition at line 104 of file PoolOutputModule.h.

104 { return splitLevel_; }

References splitLevel_.

Referenced by edm::PoolOutputModule::fillSelectedItemList().

◆ token()

EDGetToken edm::PoolOutputModule::OutputItem::token ( ) const
inline

Definition at line 100 of file PoolOutputModule.h.

100 { return token_; }

References token_.

Member Data Documentation

◆ basketSize_

int edm::PoolOutputModule::OutputItem::basketSize_
private

Definition at line 112 of file PoolOutputModule.h.

Referenced by basketSize(), and edm::PoolOutputModule::fillSelectedItemList().

◆ branchDescription_

BranchDescription const* edm::PoolOutputModule::OutputItem::branchDescription_
private

◆ product_

void const* edm::PoolOutputModule::OutputItem::product_
private

Definition at line 110 of file PoolOutputModule.h.

Referenced by product(), and setProduct().

◆ splitLevel_

int edm::PoolOutputModule::OutputItem::splitLevel_
private

Definition at line 111 of file PoolOutputModule.h.

Referenced by edm::PoolOutputModule::fillSelectedItemList(), and splitLevel().

◆ token_

EDGetToken edm::PoolOutputModule::OutputItem::token_
private

Definition at line 109 of file PoolOutputModule.h.

Referenced by token().

edm::PoolOutputModule::OutputItem::branchDescription_
BranchDescription const * branchDescription_
Definition: PoolOutputModule.h:108
edm::PoolOutputModule::OutputItem::token_
EDGetToken token_
Definition: PoolOutputModule.h:109
edm::PoolOutputModule::OutputItem::token
EDGetToken token() const
Definition: PoolOutputModule.h:100
edm::PoolOutputModule::OutputItem::product_
void const * product_
Definition: PoolOutputModule.h:110
edm::BranchDescription::invalidSplitLevel
static const int invalidSplitLevel
Definition: BranchDescription.h:34
edm::PoolOutputModule::OutputItem::splitLevel_
int splitLevel_
Definition: PoolOutputModule.h:111
edm::BranchDescription::branchName
std::string const & branchName() const
Definition: BranchDescription.h:119
edm::PoolOutputModule::OutputItem::basketSize_
int basketSize_
Definition: PoolOutputModule.h:112
edm::PoolOutputModule::OutputItem::splitLevel
int splitLevel() const
Definition: PoolOutputModule.h:104
edm::PoolOutputModule::OutputItem::basketSize
int basketSize() const
Definition: PoolOutputModule.h:105
edm::BranchDescription::invalidBasketSize
static const int invalidBasketSize
Definition: BranchDescription.h:35
edm::BranchDescription::branchID
BranchID const & branchID() const
Definition: BranchDescription.h:74