#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... | |
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... | |
SpecialSTLContainerHandler (const edm::TypeWithDict &dictionary) | |
Constructor. More... | |
~SpecialSTLContainerHandler () | |
Destructor. More... | |
Public Member Functions inherited from ora::IArrayHandler | |
virtual void | finalize (void *) |
execute the ending procedure for the container More... | |
virtual bool | isAssociative () const |
Returns the associativeness of 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 | |
std::auto_ptr< IArrayHandler > | m_containerHandler |
The handler of the unserlying container. More... | |
int | m_containerOffset |
The offset of the underlying container. More... | |
Definition at line 95 of file STLContainerHandler.h.
|
explicit |
Constructor.
Definition at line 103 of file STLContainerHandler.cc.
References edm::TypeWithDict::cppName(), ora::ClassUtils::isTypeContainer(), m_containerHandler, m_containerOffset, edm::MemberWithDict::offset(), ora::throwException(), and edm::MemberWithDict::typeOf().
ora::SpecialSTLContainerHandler::~SpecialSTLContainerHandler | ( | ) |
|
virtual |
Appends a new element and returns its address of the object reference.
Implements ora::IArrayHandler.
Definition at line 152 of file STLContainerHandler.cc.
|
virtual |
Clear the content of the container.
Implements ora::IArrayHandler.
Definition at line 158 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().
|
virtual |
Returns an initialized iterator.
Implements ora::IArrayHandler.
Definition at line 145 of file STLContainerHandler.cc.
|
virtual |
Returns the iterator return type.
Implements ora::IArrayHandler.
Definition at line 164 of file STLContainerHandler.cc.
|
virtual |
Returns the size of the container.
Implements ora::IArrayHandler.
Definition at line 138 of file STLContainerHandler.cc.
|
private |
The handler of the unserlying container.
Definition at line 121 of file STLContainerHandler.h.
Referenced by SpecialSTLContainerHandler().
|
private |
The offset of the underlying container.
Definition at line 124 of file STLContainerHandler.h.
Referenced by SpecialSTLContainerHandler().