#include <QueryableVector.h>
Public Types | |
typedef PVector< Tp > ::const_iterator | const_iterator |
typedef PVector< Tp > ::const_reference | const_reference |
typedef PVector< Tp > ::const_reverse_iterator | const_reverse_iterator |
typedef PVector< Tp >::iterator | iterator |
typedef std::vector< std::pair < size_t, Tp > > | range_store_base_type |
typedef PVector< Tp >::reference | reference |
typedef PVector< Tp > ::reverse_iterator | reverse_iterator |
typedef PVector< Tp >::size_type | size_type |
typedef PVector< Tp > | store_base_type |
typedef PVector< Tp >::value_type | value_type |
Public Member Functions | |
void | assign (size_t n, const Tp &u) |
reference | at (size_t n) |
const_reference | at (size_t n) const |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
size_t | capacity () const |
void | clear () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
reference | front () |
const_reference | front () const |
bool | isLocked () const |
void | load () const |
bool | lock () |
size_t | max_size () const |
bool | operator!= (const QueryableVector &vec) const |
QueryableVector< Tp > & | operator= (const QueryableVector< Tp > &rhs) |
bool | operator== (const QueryableVector &vec) const |
reference | operator[] (size_t n) |
const_reference | operator[] (size_t n) const |
size_t | persistentSize () const |
void | pop_back () |
void | push_back (const Tp &x) |
Query< Tp > | query () const |
QueryableVector () | |
QueryableVector (size_t n, const Tp &value=Tp()) | |
QueryableVector (const QueryableVector< Tp > &rhs) | |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
void | reserve (size_t n) |
void | reset () |
void | resize (size_t n, const Tp &value=Tp()) |
Range< Tp > | select (int startIndex, int endIndex=Selection::endOfRange) const |
Range< Tp > | select (const Selection &sel) const |
size_t | size () const |
const void * | storageAddress () const |
virtual | ~QueryableVector () |
Private Member Functions | |
void | initialize () const |
Private Attributes | |
boost::shared_ptr < store_base_type > | m_data |
bool | m_isLoaded |
bool | m_isLocked |
boost::shared_ptr< IVectorLoader > | m_loader |
Definition at line 162 of file QueryableVector.h.
typedef PVector<Tp>::const_iterator ora::QueryableVector< Tp >::const_iterator |
Definition at line 170 of file QueryableVector.h.
typedef PVector<Tp>::const_reference ora::QueryableVector< Tp >::const_reference |
Definition at line 168 of file QueryableVector.h.
typedef PVector<Tp>::const_reverse_iterator ora::QueryableVector< Tp >::const_reverse_iterator |
Definition at line 172 of file QueryableVector.h.
typedef PVector<Tp>::iterator ora::QueryableVector< Tp >::iterator |
Definition at line 171 of file QueryableVector.h.
typedef std::vector<std::pair<size_t,Tp> > ora::QueryableVector< Tp >::range_store_base_type |
Definition at line 179 of file QueryableVector.h.
typedef PVector<Tp>::reference ora::QueryableVector< Tp >::reference |
Definition at line 169 of file QueryableVector.h.
typedef PVector<Tp>::reverse_iterator ora::QueryableVector< Tp >::reverse_iterator |
Definition at line 173 of file QueryableVector.h.
typedef PVector<Tp>::size_type ora::QueryableVector< Tp >::size_type |
Definition at line 167 of file QueryableVector.h.
typedef PVector<Tp> ora::QueryableVector< Tp >::store_base_type |
Definition at line 177 of file QueryableVector.h.
typedef PVector<Tp>::value_type ora::QueryableVector< Tp >::value_type |
Definition at line 174 of file QueryableVector.h.
ora::QueryableVector< Tp >::QueryableVector | ( | ) |
Definition at line 191 of file QueryableVectorImpl.h.
|
explicit |
Definition at line 198 of file QueryableVectorImpl.h.
ora::QueryableVector< Tp >::QueryableVector | ( | const QueryableVector< Tp > & | rhs | ) |
Definition at line 205 of file QueryableVectorImpl.h.
|
virtual |
Definition at line 212 of file QueryableVectorImpl.h.
void ora::QueryableVector< Tp >::assign | ( | size_t | n, |
const Tp & | u | ||
) |
Definition at line 373 of file QueryableVectorImpl.h.
References initialize().
ora::QueryableVector< Tp >::reference ora::QueryableVector< Tp >::at | ( | size_t | n | ) |
Definition at line 349 of file QueryableVectorImpl.h.
References initialize(), and n.
ora::QueryableVector< Tp >::const_reference ora::QueryableVector< Tp >::at | ( | size_t | n | ) | const |
Definition at line 344 of file QueryableVectorImpl.h.
References initialize(), and n.
ora::QueryableVector< Tp >::reference ora::QueryableVector< Tp >::back | ( | ) |
Definition at line 364 of file QueryableVectorImpl.h.
Referenced by cond::ExportIOVUtilities::execute(), and cond::IOVImportIterator::setUp().
ora::QueryableVector< Tp >::const_reference ora::QueryableVector< Tp >::back | ( | ) | const |
Definition at line 368 of file QueryableVectorImpl.h.
References initialize().
ora::QueryableVector< Tp >::iterator ora::QueryableVector< Tp >::begin | ( | void | ) |
Definition at line 264 of file QueryableVectorImpl.h.
References initialize().
Referenced by cond::IOVImportIterator::setUp(), cond::IOVSequence::sortMe(), cond::IOVSequence::swapOIds(), and cond::IOVSequence::swapTokens().
ora::QueryableVector< Tp >::const_iterator ora::QueryableVector< Tp >::begin | ( | void | ) | const |
Definition at line 274 of file QueryableVectorImpl.h.
References initialize().
size_t ora::QueryableVector< Tp >::capacity | ( | ) | const |
Definition at line 319 of file QueryableVectorImpl.h.
References initialize().
void ora::QueryableVector< Tp >::clear | ( | void | ) |
Definition at line 390 of file QueryableVectorImpl.h.
References initialize().
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().
bool ora::QueryableVector< Tp >::empty | ( | ) | const |
Definition at line 324 of file QueryableVectorImpl.h.
References initialize().
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and cond::IOVImportIterator::setUp().
ora::QueryableVector< Tp >::iterator ora::QueryableVector< Tp >::end | ( | void | ) |
Definition at line 269 of file QueryableVectorImpl.h.
References initialize().
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::IOVSequence::exist(), cond::IOVSequence::find(), cond::IOVSequence::findSince(), cond::KeyList::load(), cond::IOVImportIterator::setUp(), cond::IOVSequence::sortMe(), cond::IOVSequence::swapOIds(), and cond::IOVSequence::swapTokens().
ora::QueryableVector< Tp >::const_iterator ora::QueryableVector< Tp >::end | ( | void | ) | const |
Definition at line 279 of file QueryableVectorImpl.h.
References initialize().
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
ora::QueryableVector< Tp >::reference ora::QueryableVector< Tp >::front | ( | ) |
Definition at line 354 of file QueryableVectorImpl.h.
References initialize().
Referenced by cond::IOVSequence::firstSince().
ora::QueryableVector< Tp >::const_reference ora::QueryableVector< Tp >::front | ( | ) | const |
Definition at line 359 of file QueryableVectorImpl.h.
References initialize().
|
private |
Definition at line 429 of file QueryableVectorImpl.h.
Referenced by ora::QueryableVector< Tp >::operator!=(), and ora::QueryableVector< Tp >::operator==().
bool ora::QueryableVector< Tp >::isLocked | ( | ) | const |
Definition at line 260 of file QueryableVectorImpl.h.
void ora::QueryableVector< Tp >::load | ( | ) | const |
Definition at line 425 of file QueryableVectorImpl.h.
References initialize().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), cond::IOVSequence::loadAll(), cond::IOVSequence::piovs(), and cond::IOVSequence::sortMe().
bool ora::QueryableVector< Tp >::lock | ( | ) |
Definition at line 254 of file QueryableVectorImpl.h.
size_t ora::QueryableVector< Tp >::max_size | ( | ) | const |
Definition at line 309 of file QueryableVectorImpl.h.
References initialize().
bool ora::QueryableVector< Tp >::operator!= | ( | const QueryableVector< Tp > & | vec | ) | const |
Definition at line 409 of file QueryableVectorImpl.h.
References initialize(), ora::QueryableVector< Tp >::initialize(), and ora::QueryableVector< Tp >::m_data.
ora::QueryableVector< Tp > & ora::QueryableVector< Tp >::operator= | ( | const QueryableVector< Tp > & | rhs | ) |
Definition at line 215 of file QueryableVectorImpl.h.
References ora::QueryableVector< Tp >::m_data, ora::QueryableVector< Tp >::m_isLoaded, ora::QueryableVector< Tp >::m_isLocked, and ora::QueryableVector< Tp >::m_loader.
bool ora::QueryableVector< Tp >::operator== | ( | const QueryableVector< Tp > & | vec | ) | const |
Definition at line 403 of file QueryableVectorImpl.h.
References initialize(), ora::QueryableVector< Tp >::initialize(), and ora::QueryableVector< Tp >::m_data.
ora::QueryableVector< Tp >::reference ora::QueryableVector< Tp >::operator[] | ( | size_t | n | ) |
Definition at line 334 of file QueryableVectorImpl.h.
References initialize(), and n.
ora::QueryableVector< Tp >::const_reference ora::QueryableVector< Tp >::operator[] | ( | size_t | n | ) | const |
Definition at line 339 of file QueryableVectorImpl.h.
References initialize(), and n.
size_t ora::QueryableVector< Tp >::persistentSize | ( | ) | const |
Definition at line 415 of file QueryableVectorImpl.h.
void ora::QueryableVector< Tp >::pop_back | ( | ) |
Definition at line 384 of file QueryableVectorImpl.h.
References initialize().
Referenced by cond::IOVSequence::truncate().
void ora::QueryableVector< Tp >::push_back | ( | const Tp & | x | ) |
Definition at line 378 of file QueryableVectorImpl.h.
References initialize().
Referenced by cond::IOVSequence::add().
ora::Query< Tp > ora::QueryableVector< Tp >::query | ( | ) | const |
Definition at line 244 of file QueryableVectorImpl.h.
References ora::throwException().
ora::QueryableVector< Tp >::reverse_iterator ora::QueryableVector< Tp >::rbegin | ( | ) |
Definition at line 284 of file QueryableVectorImpl.h.
References initialize().
ora::QueryableVector< Tp >::const_reverse_iterator ora::QueryableVector< Tp >::rbegin | ( | ) | const |
Definition at line 294 of file QueryableVectorImpl.h.
References initialize().
ora::QueryableVector< Tp >::reverse_iterator ora::QueryableVector< Tp >::rend | ( | ) |
Definition at line 289 of file QueryableVectorImpl.h.
References initialize().
ora::QueryableVector< Tp >::const_reverse_iterator ora::QueryableVector< Tp >::rend | ( | ) | const |
Definition at line 299 of file QueryableVectorImpl.h.
References initialize().
void ora::QueryableVector< Tp >::reserve | ( | size_t | n | ) |
Definition at line 329 of file QueryableVectorImpl.h.
References initialize().
void ora::QueryableVector< Tp >::reset | ( | void | ) |
Definition at line 396 of file QueryableVectorImpl.h.
References initialize().
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
void ora::QueryableVector< Tp >::resize | ( | size_t | n, |
const Tp & | value = Tp() |
||
) |
Definition at line 314 of file QueryableVectorImpl.h.
References initialize().
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
ora::Range< Tp > ora::QueryableVector< Tp >::select | ( | int | startIndex, |
int | endIndex = Selection::endOfRange |
||
) | const |
Definition at line 225 of file QueryableVectorImpl.h.
References ora::Selection::addIndexItem(), EgammaValidation_Wenu_cff::sel, and benchmark_cfg::select.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
ora::Range< Tp > ora::QueryableVector< Tp >::select | ( | const Selection & | sel | ) | const |
Definition at line 231 of file QueryableVectorImpl.h.
References ora::throwException().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
size_t ora::QueryableVector< Tp >::size | ( | void | ) | const |
Definition at line 304 of file QueryableVectorImpl.h.
References initialize().
Referenced by cond::IOVSequence::add(), cond::IOVElementProxy::set(), and cond::IOVSequence::truncate().
const void * ora::QueryableVector< Tp >::storageAddress | ( | ) | const |
Definition at line 421 of file QueryableVectorImpl.h.
|
private |
Definition at line 282 of file QueryableVector.h.
Referenced by ora::QueryableVector< Tp >::operator!=(), ora::QueryableVector< Tp >::operator=(), and ora::QueryableVector< Tp >::operator==().
|
mutableprivate |
Definition at line 284 of file QueryableVector.h.
Referenced by ora::QueryableVector< Tp >::operator=().
|
private |
Definition at line 283 of file QueryableVector.h.
Referenced by ora::QueryableVector< Tp >::operator=().
|
mutableprivate |
Definition at line 285 of file QueryableVector.h.
Referenced by ora::QueryableVector< Tp >::operator=().