#include <EDProductfwd.h>
Public Types | |
typedef KEY | key_type |
typedef std::vector< KEY > | keys_type |
typedef keys_type::size_type | size_type |
Public Member Functions | |
size_type | capacity () const |
Capacity of vector. More... | |
void | clear () |
clear the vector More... | |
bool | empty () const |
Is vector empty? More... | |
keys_type::iterator | eraseAtIndex (size_type index) |
erase an element from the vector More... | |
keys_type const & | keys () const |
Accessor for vector of keys and pointers. More... | |
RefVectorBase & | operator= (RefVectorBase const &rhs) |
Copy assignment. More... | |
void | pushBack (RefCore const &product, KEY const &key) |
RefCore const & | refCore () const |
Accessor for product ID and product getter. More... | |
RefVectorBase () | |
Default constructor needed for reading from persistent store. Not for direct use. More... | |
RefVectorBase (RefVectorBase const &rhs) | |
RefVectorBase (ProductID const &productID, void const *prodPtr=0, EDProductGetter const *prodGetter=0) | |
void | reserve (size_type n) |
Reserve space for vector. More... | |
size_type | size () const |
Size of vector. More... | |
void | swap (RefVectorBase< KEY > &other) noexcept |
swap two vectors More... | |
~RefVectorBase () noexcept | |
Destructor. More... | |
Private Attributes | |
keys_type | keys_ |
RefCore | product_ |
Definition at line 27 of file EDProductfwd.h.
typedef KEY edm::RefVectorBase< T >::key_type |
Definition at line 25 of file RefVectorBase.h.
typedef std::vector<KEY > edm::RefVectorBase< T >::keys_type |
Definition at line 24 of file RefVectorBase.h.
typedef keys_type::size_type edm::RefVectorBase< T >::size_type |
Definition at line 26 of file RefVectorBase.h.
|
inline |
Default constructor needed for reading from persistent store. Not for direct use.
Definition at line 28 of file RefVectorBase.h.
|
inline |
Definition at line 29 of file RefVectorBase.h.
|
inlineexplicit |
Definition at line 34 of file RefVectorBase.h.
|
inlinenoexcept |
|
inline |
Capacity of vector.
Definition at line 59 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::capacity().
|
inline |
clear the vector
Definition at line 70 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::clear(), 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(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Is vector empty?
Definition at line 48 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::empty(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
erase an element from the vector
Definition at line 65 of file RefVectorBase.h.
Referenced by edm::RefVector< C, T, F >::erase().
|
inline |
Accessor for vector of keys and pointers.
Definition at line 45 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::at(), edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), and edm::RefVector< TrackingRecHitCollection >::operator[]().
|
inline |
Copy assignment.
Definition at line 82 of file RefVectorBase.h.
|
inline |
Definition at line 53 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::push_back().
|
inline |
Accessor for product ID and product getter.
Definition at line 42 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::at(), edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), edm::RefVector< C, T, F >::erase(), edm::RefVector< TrackingRecHitCollection >::id(), edm::RefVector< TrackingRecHitCollection >::isAvailable(), edm::RefVector< TrackingRecHitCollection >::isTransient(), edm::RefVector< TrackingRecHitCollection >::operator[](), and edm::RefVector< TrackingRecHitCollection >::productGetter().
|
inline |
Reserve space for vector.
Definition at line 62 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::reserve().
|
inline |
Size of vector.
Definition at line 51 of file RefVectorBase.h.
Referenced by edm::RefVector< TrackingRecHitCollection >::size().
|
inlinenoexcept |
swap two vectors
Definition at line 76 of file RefVectorBase.h.
Referenced by edm::RefVectorBase< key_type >::operator=(), and edm::RefVector< C, T, F >::swap().
|
private |
Definition at line 100 of file RefVectorBase.h.
Referenced by edm::RefVectorBase< key_type >::capacity(), edm::RefVectorBase< key_type >::clear(), edm::RefVectorBase< key_type >::empty(), edm::RefVectorBase< key_type >::eraseAtIndex(), edm::RefVectorBase< key_type >::keys(), edm::RefVectorBase< key_type >::pushBack(), edm::RefVectorBase< key_type >::reserve(), edm::RefVectorBase< key_type >::size(), and edm::RefVectorBase< key_type >::swap().
|
private |
Definition at line 99 of file RefVectorBase.h.
Referenced by edm::RefVectorBase< key_type >::clear(), edm::RefVectorBase< key_type >::pushBack(), edm::RefVectorBase< key_type >::refCore(), and edm::RefVectorBase< key_type >::swap().