#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... | |
Reflex::Type & | iteratorReturnType () |
Returns the iterator return type. More... | |
size_t | size (const void *address) |
Returns the size of the container. More... | |
SpecialSTLContainerHandler (const Reflex::Type &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 94 of file STLContainerHandler.h.
|
explicit |
Constructor.
Definition at line 111 of file STLContainerHandler.cc.
References i, ora::ClassUtils::isTypeContainer(), m_containerHandler, m_containerOffset, and ora::throwException().
ora::SpecialSTLContainerHandler::~SpecialSTLContainerHandler | ( | ) |
|
virtual |
Appends a new element and returns its address of the object reference.
Implements ora::IArrayHandler.
Definition at line 160 of file STLContainerHandler.cc.
|
virtual |
Clear the content of the container.
Implements ora::IArrayHandler.
Definition at line 166 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 153 of file STLContainerHandler.cc.
|
virtual |
Returns the iterator return type.
Implements ora::IArrayHandler.
Definition at line 172 of file STLContainerHandler.cc.
|
virtual |
Returns the size of the container.
Implements ora::IArrayHandler.
Definition at line 146 of file STLContainerHandler.cc.
|
private |
The handler of the unserlying container.
Definition at line 120 of file STLContainerHandler.h.
Referenced by SpecialSTLContainerHandler().
|
private |
The offset of the underlying container.
Definition at line 123 of file STLContainerHandler.h.
Referenced by SpecialSTLContainerHandler().