#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... | |
Reflex::Type & | iteratorReturnType () |
Returns the iterator return type. More... | |
size_t | size (const void *address) |
Returns the size of the container. More... | |
STLContainerHandler (const Reflex::Type &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 | |
Reflex::Environ< long > | m_collEnv |
Structure containing parameters of the collection instance. More... | |
std::auto_ptr < Reflex::CollFuncTable > | m_collProxy |
Proxy of the generic collection. More... | |
bool | m_isAssociative |
Flag indicating whether the container is associative. More... | |
Reflex::Type | m_iteratorReturnType |
The iterator return type. More... | |
Reflex::Type | m_type |
The dictionary information. More... | |
Definition at line 48 of file STLContainerHandler.h.
|
explicit |
Constructor.
Definition at line 41 of file STLContainerHandler.cc.
References ora::ClassUtils::containerValueType(), ora::ClassUtils::isTypeKeyedContainer(), m_collProxy, m_isAssociative, m_iteratorReturnType, m_type, PFRecoTauDiscriminationAgainstElectronMVA3GBR_cfi::method, 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 89 of file STLContainerHandler.cc.
References data.
|
virtual |
Clear the content of the container.
Implements ora::IArrayHandler.
Definition at line 101 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 73 of file STLContainerHandler.h.
References m_isAssociative.
|
virtual |
Returns an initialized iterator.
Implements ora::IArrayHandler.
Definition at line 77 of file STLContainerHandler.cc.
References ora::throwException().
|
virtual |
Returns the iterator return type.
Implements ora::IArrayHandler.
Definition at line 107 of file STLContainerHandler.cc.
|
virtual |
Returns the size of the container.
Implements ora::IArrayHandler.
Definition at line 70 of file STLContainerHandler.cc.
|
private |
Structure containing parameters of the collection instance.
Definition at line 86 of file STLContainerHandler.h.
|
private |
Proxy of the generic collection.
Definition at line 89 of file STLContainerHandler.h.
Referenced by STLContainerHandler().
|
private |
Flag indicating whether the container is associative.
Definition at line 83 of file STLContainerHandler.h.
Referenced by isAssociative(), and STLContainerHandler().
|
private |
The iterator return type.
Definition at line 80 of file STLContainerHandler.h.
Referenced by STLContainerHandler().
|
private |
The dictionary information.
Definition at line 77 of file STLContainerHandler.h.
Referenced by STLContainerHandler().