Dillo v3.2.0-4-g6cd133d2
|
Typed version of container::untyped::Vector. More...
#include <container.hh>
Public Member Functions | |
Vector (int initSize, bool ownerOfObjects) | |
void | put (T *newElement, int newPos=-1) |
void | insert (T *newElement, int pos) |
int | insertSorted (T *newElement, object::Comparator *comparator=&object::standardComparator) |
void | remove (int pos) |
T * | get (int pos) const |
void | clear () |
void | sort (object::Comparator *comparator=&object::standardComparator) |
int | bsearch (T *key, bool mustExist, int start, int end, object::Comparator *comparator=&object::standardComparator) |
int | bsearch (T *key, bool mustExist, object::Comparator *comparator=&object::standardComparator) |
![]() | |
Collection () | |
~Collection () | |
bool | equals (Object *other) |
Returns, whether two objects are equal. | |
int | hashValue () |
Return a hash value for the object. | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
Iterator< T > | iterator () |
int | size () |
![]() | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
Additional Inherited Members | |
![]() | |
untyped::Collection * | base |
Typed version of container::untyped::Vector.
Definition at line 446 of file container.hh.
|
inline |
Definition at line 449 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 468 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by testVector2(), and testVector3().
|
inline |
Definition at line 473 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 464 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by dw::oof::OOFFloatsMgr::SortedFloatsVector::clear().
|
inline |
Definition at line 462 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by dw::core::DeepIterator::clone(), dw::core::DeepIterator::compareTo(), dw::oof::OOFFloatsMgr::SortedFloatsVector::get(), dw::Hyphenator::hyphenateSingleWord(), and dw::oof::OOFFloatsMgr::moveExternalIndices().
|
inline |
Definition at line 454 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 456 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by testVector2().
|
inline |
Definition at line 452 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by dw::oof::OOFFloatsMgr::addWidgetOOF(), dw::core::DeepIterator::clone(), dw::core::DeepIterator::DeepIterator(), dw::Hyphenator::insertException(), dw::oof::OOFFloatsMgr::SortedFloatsVector::put(), testVector1(), and testVector3().
|
inline |
Definition at line 461 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 465 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by testVector1().