#include <STLContainerHandler.h>
Public Member Functions | |
void | appendNewElement (void *address, void *data) |
Appends a new element and returns its address of the object reference. More... | |
void | clear (const void *address) |
Clear the content of the container. More... | |
bool | isAssociative () const |
Returns the associativeness of the container. More... | |
IArrayIteratorHandler * | iterate (const void *address) |
Returns an initialized iterator. More... | |
edm::TypeWithDict & | iteratorReturnType () |
Returns the iterator return type. More... | |
size_t | size (const void *address) |
Returns the size of the container. More... | |
STLContainerHandler (const edm::TypeWithDict &dictionary) | |
Constructor. More... | |
~STLContainerHandler () | |
Destructor. More... | |
Public Member Functions inherited from ora::IArrayHandler | |
virtual void | finalize (void *) |
execute the ending procedure for the container More... | |
virtual size_t * | persistentSize (const void *address) |
Returns the size of the container. Only differs in the PVector. More... | |
virtual size_t | startElementIndex (const void *) |
Returns the index of the first element. More... | |
virtual | ~IArrayHandler () |
Destructor. More... | |
Private Attributes | |
TVirtualCollectionProxy * | m_collProxy |
Proxy of the generic collection. More... | |
bool | m_isAssociative |
Flag indicating whether the container is associative. More... | |
edm::TypeWithDict | m_iteratorReturnType |
The iterator return type. More... | |
edm::TypeWithDict | m_type |
The dictionary information. More... | |
Definition at line 52 of file STLContainerHandler.h.
|
explicit |
Constructor.
Definition at line 40 of file STLContainerHandler.cc.
References GetRecoTauVFromDQM_MC_cff::cl, ora::ClassUtils::containerValueType(), edm::TypeWithDict::cppName(), edm::TypeWithDict::getClass(), ora::ClassUtils::isTypeKeyedContainer(), m_collProxy, m_isAssociative, m_iteratorReturnType, m_type, ora::ClassUtils::resolvedType(), and ora::throwException().
ora::STLContainerHandler::~STLContainerHandler | ( | ) |
|
virtual |
Appends a new element and returns its address of the object reference.
Implements ora::IArrayHandler.
Definition at line 85 of file STLContainerHandler.cc.
|
virtual |
Clear the content of the container.
Implements ora::IArrayHandler.
Definition at line 91 of file STLContainerHandler.cc.
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().
|
inlinevirtual |
Returns the associativeness of the container.
Reimplemented from ora::IArrayHandler.
Definition at line 77 of file STLContainerHandler.h.
References m_isAssociative.
|
virtual |
Returns an initialized iterator.
Implements ora::IArrayHandler.
Definition at line 73 of file STLContainerHandler.cc.
References ora::throwException().
|
virtual |
Returns the iterator return type.
Implements ora::IArrayHandler.
Definition at line 99 of file STLContainerHandler.cc.
|
virtual |
Returns the size of the container.
Implements ora::IArrayHandler.
Definition at line 64 of file STLContainerHandler.cc.
|
private |
Proxy of the generic collection.
Definition at line 90 of file STLContainerHandler.h.
Referenced by STLContainerHandler().
|
private |
Flag indicating whether the container is associative.
Definition at line 87 of file STLContainerHandler.h.
Referenced by isAssociative(), and STLContainerHandler().
|
private |
The iterator return type.
Definition at line 84 of file STLContainerHandler.h.
Referenced by STLContainerHandler().
|
private |
The dictionary information.
Definition at line 81 of file STLContainerHandler.h.
Referenced by STLContainerHandler().