#include <classes.h>
Public Types | |
typedef unsigned long | key_type |
typedef key_type | size_type |
Public Member Functions | |
size_type | capacity () const |
Capacity of the RefVector. More... | |
void | clear () |
Clear the PtrVector. More... | |
bool | empty () const |
Is the RefVector empty. More... | |
bool | hasCache () const |
ProductID | id () const |
Accessor for product ID. More... | |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. More... | |
bool | isNull () const |
Checks for null. More... | |
bool | isTransient () const |
bool | operator! () const |
Checks for null. More... | |
bool | operator== (PtrVectorBase const &iRHS) const |
void const * | product () const |
EDProductGetter const * | productGetter () const |
Accessor for product getter. More... | |
PtrVectorBase (ProductID const &productID, void const *prodPtr=0, EDProductGetter const *prodGetter=0) | |
PtrVectorBase (const PtrVectorBase &) | |
void | reserve (size_type n) |
Reserve space for RefVector. More... | |
void | setProductGetter (EDProductGetter *iGetter) const |
size_type | size () const |
Size of the RefVector. More... | |
virtual | ~PtrVectorBase () |
Protected Member Functions | |
template<typename TPtr > | |
TPtr | makePtr (unsigned long iIndex) const |
template<typename TPtr > | |
TPtr | makePtr (std::vector< void const * >::const_iterator const iIt) const |
PtrVectorBase () | |
void | push_back_base (RefCore const &core, key_type iKey, void const *iData) |
void | swap (PtrVectorBase &other) |
swap More... | |
std::vector< void const * > ::const_iterator | void_begin () const |
std::vector< void const * > ::const_iterator | void_end () const |
Private Member Functions | |
bool | checkCachedItems () const |
void | getProduct_ () const |
PtrVectorBase & | operator= (const PtrVectorBase &) |
virtual std::type_info const & | typeInfo () const |
Static Private Member Functions | |
static const std::vector< void const * > & | emptyCache () |
Private Attributes | |
std::atomic< std::vector< void const * > * > | cachedItems_ |
RefCore | core_ |
std::vector< key_type > | indicies_ |
Description: Base class for PtrVector
Usage: This class defines the common behavior for the PtrVector template class instances
typedef unsigned long DataFormats_MuonReco::dictionary::edm::PtrVectorBase::key_type |
|
inlineexplicit |
DataFormats_MuonReco::dictionary::edm::PtrVectorBase::PtrVectorBase | ( | const PtrVectorBase & | ) |
|
virtual |
|
protected |
|
inline |
|
private |
|
inline |
Clear the PtrVector.
Definition at line 84 of file classes.h.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Is the RefVector empty.
Definition at line 75 of file classes.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
staticprivate |
|
private |
|
inline |
|
inline |
bool DataFormats_MuonReco::dictionary::edm::PtrVectorBase::isAvailable | ( | ) | const |
True if the data is in memory or is available in the Event No type checking is done.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
private |
bool DataFormats_MuonReco::dictionary::edm::PtrVectorBase::operator== | ( | PtrVectorBase const & | iRHS | ) | const |
|
inline |
|
inline |
|
protected |
|
inline |
|
inline |
|
inline |
|
protected |
swap
|
inlineprivatevirtual |
Reimplemented in DataFormats_MuonReco::dictionary::edm::PtrVector< T >.
|
inlineprotected |
|
inlineprotected |
|
mutableprivate |
|
private |