Dillo
Public Member Functions | Private Attributes | List of all members
dw::oof::OOFFloatsMgr::SortedFloatsVector Class Reference

Public Member Functions

 SortedFloatsVector (OOFFloatsMgr *oofm, Side side)
 
int findFloatIndex (OOFAwareWidget *lastGB, int lastExtIndex)
 
int find (int y, int start, int end)
 
int findFirst (int y, int h, OOFAwareWidget *lastGB, int lastExtIndex, int *lastReturn)
 
int findLastBeforeSideSpanningIndex (int sideSpanningIndex)
 
void put (Float *vloat)
 
lout::container::typed::Iterator
< Float
iterator ()
 
int size ()
 
Floatget (int pos)
 
void clear ()
 

Private Attributes

OOFFloatsMgroofm
 
Side side
 
- Private Attributes inherited from lout::container::typed::Collection< Float >
untyped::Collectionbase
 

Additional Inherited Members

- Private Member Functions inherited from lout::container::typed::Vector< Float >
 Vector (int initSize, bool ownerOfObjects)
 
void put (Float *newElement, int newPos=-1)
 
void insert (Float *newElement, int pos)
 
int insertSorted (Float *newElement, object::Comparator *comparator=&object::standardComparator)
 
void remove (int pos)
 
Float * get (int pos) const
 
void clear ()
 
void sort (object::Comparator *comparator=&object::standardComparator)
 
int bsearch (Float *key, bool mustExist, int start, int end, object::Comparator *comparator=&object::standardComparator)
 
int bsearch (Float *key, bool mustExist, object::Comparator *comparator=&object::standardComparator)
 
- Private Member Functions inherited from lout::container::typed::Collection< Float >
 Collection ()
 
 ~Collection ()
 
bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
Iterator< Float > iterator ()
 
int size ()
 
- Private Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Detailed Description

This list is kept sorted.

To prevent accessing methods of the base class in an uncontrolled way, the inheritance is private, not public; this means that all methods must be delegated (see iterator(), size() etc. below.)

TODO Update comment: still sorted, but ...

More: add() and change() may check order again.

Constructor & Destructor Documentation

dw::oof::OOFFloatsMgr::SortedFloatsVector::SortedFloatsVector ( OOFFloatsMgr oofm,
Side  side 
)
inline

References oofm, and side.

Member Function Documentation

void dw::oof::OOFFloatsMgr::SortedFloatsVector::clear ( )
inline
int dw::oof::OOFFloatsMgr::SortedFloatsVector::find ( int  y,
int  start,
int  end 
)

y is given relative to the container.

References DBG_OBJ_ENTER_O, DBG_OBJ_LEAVE_VAL_O, and dw::oof::OOFFloatsMgr::Float::yReal.

int dw::oof::OOFFloatsMgr::SortedFloatsVector::findFirst ( int  y,
int  h,
OOFAwareWidget lastGB,
int  lastExtIndex,
int *  lastReturn 
)
int dw::oof::OOFFloatsMgr::SortedFloatsVector::findFloatIndex ( OOFAwareWidget lastGB,
int  lastExtIndex 
)
int dw::oof::OOFFloatsMgr::SortedFloatsVector::findLastBeforeSideSpanningIndex ( int  sideSpanningIndex)
Float* dw::oof::OOFFloatsMgr::SortedFloatsVector::get ( int  pos)
inline
lout::container::typed::Iterator<Float> dw::oof::OOFFloatsMgr::SortedFloatsVector::iterator ( )
inline
void dw::oof::OOFFloatsMgr::SortedFloatsVector::put ( Float vloat)
int dw::oof::OOFFloatsMgr::SortedFloatsVector::size ( )
inline

Member Data Documentation

OOFFloatsMgr* dw::oof::OOFFloatsMgr::SortedFloatsVector::oofm
private

Referenced by SortedFloatsVector().

Side dw::oof::OOFFloatsMgr::SortedFloatsVector::side
private

Referenced by SortedFloatsVector().


The documentation for this class was generated from the following files: