#include <OwnArray.h>
Classes | |
class | const_iterator |
class | iterator |
struct | Ordering |
Public Types | |
typedef T const & | const_reference |
typedef T * | pointer |
typedef P | policy_type |
typedef T & | reference |
typedef unsigned int | size_type |
typedef T | value_type |
Public Member Functions | |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
size_type | capacity () const |
void | clear () |
pointer const * | data () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
void | fillPtrVector (std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const * > &ptrs) const |
void | fillView (ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers) const |
reference | front () |
const_reference | front () const |
bool | is_back_safe () const |
self & | operator= (self const &) |
reference | operator[] (size_type) |
const_reference | operator[] (size_type) const |
OwnArray () | |
OwnArray (size_type) | |
OwnArray (OwnArray const &) | |
void | pop_back () |
template<typename D > | |
void | push_back (D *&d) |
template<typename D > | |
void | push_back (D *const &d) |
template<typename D > | |
void | push_back (std::unique_ptr< D > d) |
void | push_back (T const &valueToCopy) |
void | reserve (size_t) |
void | setPtr (std::type_info const &toType, unsigned long index, void const *&ptr) const |
size_type | size () const |
template<typename S > | |
void | sort (S s) |
void | sort () |
void | swap (self &other) |
~OwnArray () | |
Static Public Member Functions | |
static short | Class_Version () |
Private Types | |
typedef std::vector< T * > | base |
typedef OwnArray< T, MAX_SIZE, P > | self |
Private Member Functions | |
void | destroy () |
Static Private Member Functions | |
template<typename O > | |
static Ordering< O > | ordering (O const &comp) |
Private Attributes | |
pointer | data_ [MAX_SIZE] |
size_type | size_ |
Definition at line 24 of file OwnArray.h.
|
private |
Definition at line 27 of file OwnArray.h.
typedef T const& edm::OwnArray< T, MAX_SIZE, P >::const_reference |
Definition at line 33 of file OwnArray.h.
typedef T* edm::OwnArray< T, MAX_SIZE, P >::pointer |
Definition at line 31 of file OwnArray.h.
typedef P edm::OwnArray< T, MAX_SIZE, P >::policy_type |
Definition at line 34 of file OwnArray.h.
typedef T& edm::OwnArray< T, MAX_SIZE, P >::reference |
Definition at line 32 of file OwnArray.h.
|
private |
Definition at line 26 of file OwnArray.h.
typedef unsigned int edm::OwnArray< T, MAX_SIZE, P >::size_type |
Definition at line 29 of file OwnArray.h.
typedef T edm::OwnArray< T, MAX_SIZE, P >::value_type |
Definition at line 30 of file OwnArray.h.
|
inline |
Definition at line 181 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::OwnArray().
|
inline |
Definition at line 185 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::begin(), clone(), edm::OwnArray< T, MAX_SIZE, P >::data_, MillePedeFileConverter_cfg::e, edm::OwnArray< T, MAX_SIZE, P >::end(), mps_fire::i, gen::n, connectstrParser::o, edm::OwnArray< T, MAX_SIZE, P >::OwnArray(), edm::OwnArray< T, MAX_SIZE, P >::size(), and edm::OwnArray< T, MAX_SIZE, P >::size_.
edm::OwnArray< T, MAX_SIZE, P >::OwnArray | ( | OwnArray< T, MAX_SIZE, P > const & | ) |
|
inline |
Definition at line 203 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::destroy().
|
inline |
Definition at line 311 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, edm::errors::NullPointerError, mps_fire::result, edm::OwnArray< T, MAX_SIZE, P >::size_, and edm::Exception::throwThis().
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
Definition at line 325 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, edm::errors::NullPointerError, mps_fire::result, edm::OwnArray< T, MAX_SIZE, P >::size_, and edm::Exception::throwThis().
|
inline |
Definition at line 224 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::OwnArray().
|
inline |
|
inline |
Definition at line 124 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::back(), edm::OwnArray< T, MAX_SIZE, P >::clear(), edmIntegrityCheck::d, edm::OwnArray< T, MAX_SIZE, P >::data(), edm::OwnArray< T, MAX_SIZE, P >::erase(), edm::OwnArray< T, MAX_SIZE, P >::fillPtrVector(), edm::OwnArray< T, MAX_SIZE, P >::fillView(), edm::first(), edm::OwnArray< T, MAX_SIZE, P >::front(), diffTreeTool::index, edm::OwnArray< T, MAX_SIZE, P >::is_back_safe(), plotBeamSpotDB::last, trackingPlots::other, edm::OwnArray< T, MAX_SIZE, P >::pop_back(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), alignCSCRings::s, S(), edm::OwnArray< T, MAX_SIZE, P >::setPtr(), edm::OwnArray< T, MAX_SIZE, P >::sort(), and edm::OwnArray< T, MAX_SIZE, P >::swap().
|
inlinestatic |
Definition at line 159 of file OwnArray.h.
|
inline |
Definition at line 361 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::destroy(), and edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity(), 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 |
Definition at line 356 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inlineprivate |
Definition at line 349 of file OwnArray.h.
References b, edm::OwnArray< T, MAX_SIZE, P >::data_, MillePedeFileConverter_cfg::e, mps_fire::i, and edm::OwnArray< T, MAX_SIZE, P >::size().
Referenced by edm::OwnArray< T, MAX_SIZE, P >::clear(), and edm::OwnArray< T, MAX_SIZE, P >::~OwnArray().
|
inline |
Definition at line 249 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 229 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size().
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::OwnArray< T, MAX_SIZE, P >::OwnArray().
|
inline |
Definition at line 239 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size().
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
OwnArray< T, M, P >::iterator edm::OwnArray< T, M, P >::erase | ( | iterator | pos | ) |
Definition at line 367 of file OwnArray.h.
References b, edm::OwnArray< T, MAX_SIZE, P >::data_, MillePedeFileConverter_cfg::e, edm::OwnArray< T, MAX_SIZE, P >::iterator::i, mps_fire::i, edm::OwnArray< T, MAX_SIZE, P >::size(), and edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
OwnArray< T, M, P >::iterator edm::OwnArray< T, M, P >::erase | ( | iterator | first, |
iterator | last | ||
) |
Definition at line 377 of file OwnArray.h.
References b, edm::OwnArray< T, MAX_SIZE, P >::data_, MillePedeFileConverter_cfg::e, edm::OwnArray< T, MAX_SIZE, P >::iterator::i, mps_fire::i, cuy::ib, checklumidiff::l, edm::OwnArray< T, MAX_SIZE, P >::size(), and edm::OwnArray< T, MAX_SIZE, P >::size_.
|
inline |
Definition at line 479 of file OwnArray.h.
References edm::detail::reallyfillPtrVector().
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity(), and edm::fillPtrVector().
void edm::OwnArray< T, M, P >::fillView | ( | ProductID const & | id, |
std::vector< void const * > & | pointers, | ||
FillViewHelperVector & | helpers | ||
) | const |
Definition at line 403 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, MillePedeFileConverter_cfg::e, h, mps_fire::i, crabWrapper::key, edm::errors::NullPointerError, edm::OwnArray< T, MAX_SIZE, P >::size(), and edm::Exception::throwThis().
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity(), and edm::fillView().
|
inline |
Definition at line 339 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
|
inline |
Definition at line 306 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
Definition at line 208 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, edm::OwnArray< T, MAX_SIZE, P >::swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 254 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and gen::n.
|
inline |
Definition at line 259 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and gen::n.
|
inlinestaticprivate |
Definition at line 173 of file OwnArray.h.
References AlCaHLTBitMon_QueryRunRegistry::comp.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::sort().
|
inline |
Definition at line 299 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
Definition at line 265 of file OwnArray.h.
References edmIntegrityCheck::d, edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
Definition at line 275 of file OwnArray.h.
References edmIntegrityCheck::d, edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
|
inline |
Definition at line 287 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
|
inline |
Definition at line 293 of file OwnArray.h.
References clone(), edm::OwnArray< T, MAX_SIZE, P >::data_, and edm::OwnArray< T, MAX_SIZE, P >::size_.
|
inline |
Definition at line 123 of file OwnArray.h.
|
inline |
Definition at line 460 of file OwnArray.h.
References diffTreeTool::index.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity(), and edm::setPtr().
|
inline |
Definition at line 244 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), edm::OwnArray< T, MAX_SIZE, P >::destroy(), edm::OwnArray< T, MAX_SIZE, P >::end(), edm::OwnArray< T, MAX_SIZE, P >::erase(), edm::OwnArray< T, MAX_SIZE, P >::fillView(), edm::OwnArray< T, MAX_SIZE, P >::OwnArray(), and edm::OwnArray< T, MAX_SIZE, P >::sort().
void edm::OwnArray< T, M, P >::sort | ( | S | s | ) |
Definition at line 388 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, edm::OwnArray< T, MAX_SIZE, P >::ordering(), and edm::OwnArray< T, MAX_SIZE, P >::size().
void edm::OwnArray< T, M, P >::sort | ( | ) |
Definition at line 393 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_, edm::OwnArray< T, MAX_SIZE, P >::ordering(), and edm::OwnArray< T, MAX_SIZE, P >::size().
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity().
|
inline |
Definition at line 398 of file OwnArray.h.
References edm::OwnArray< T, MAX_SIZE, P >::data_.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::capacity(), edm::OwnArray< T, MAX_SIZE, P >::operator=(), and edm::swap().
|
private |
Definition at line 176 of file OwnArray.h.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::back(), edm::OwnArray< T, MAX_SIZE, P >::begin(), edm::OwnArray< T, MAX_SIZE, P >::data(), edm::OwnArray< T, MAX_SIZE, P >::destroy(), edm::OwnArray< T, MAX_SIZE, P >::end(), edm::OwnArray< T, MAX_SIZE, P >::erase(), edm::OwnArray< T, MAX_SIZE, P >::fillView(), edm::OwnArray< T, MAX_SIZE, P >::front(), edm::OwnArray< T, MAX_SIZE, P >::is_back_safe(), edm::OwnArray< T, MAX_SIZE, P >::operator=(), edm::OwnArray< T, MAX_SIZE, P >::operator[](), edm::OwnArray< T, MAX_SIZE, P >::OwnArray(), edm::OwnArray< T, MAX_SIZE, P >::pop_back(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), edm::OwnArray< T, MAX_SIZE, P >::sort(), and edm::OwnArray< T, MAX_SIZE, P >::swap().
|
private |
Definition at line 177 of file OwnArray.h.
Referenced by edm::OwnArray< T, MAX_SIZE, P >::back(), edm::OwnArray< T, MAX_SIZE, P >::clear(), edm::OwnArray< T, MAX_SIZE, P >::empty(), edm::OwnArray< T, MAX_SIZE, P >::erase(), edm::OwnArray< T, MAX_SIZE, P >::is_back_safe(), edm::OwnArray< T, MAX_SIZE, P >::OwnArray(), edm::OwnArray< T, MAX_SIZE, P >::pop_back(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), and edm::OwnArray< T, MAX_SIZE, P >::size().