![]() |
Public API Reference |
#include <cslayout.h>
Inheritance diagram for csConstraintVector:
Public Methods | |
virtual int | Compare (void *Item1, void *Item2, int Mode=0) const |
for looking up an constraint by comparing the attached components. More... | |
virtual int | CompareKey (void *Item1, const void *Item2, int Mode=0) const |
look up an constraint given a components. More... | |
virtual bool | FreeItem (void *Item) |
for automatic cleanup of the vector elements. More... | |
csLayoutConstraint * | Get (int idx) |
for convenience. More... |
The constraints (and thus the components to place) are taken into account in the sequence they are added to this vector.
Definition at line 57 of file cslayout.h.
|
for looking up an constraint by comparing the attached components.
Reimplemented from csVector. Definition at line 61 of file cslayout.h. References csLayoutConstraint::comp. |
|
look up an constraint given a components.
Reimplemented from csVector. Definition at line 69 of file cslayout.h. References csLayoutConstraint::comp. |
|
for automatic cleanup of the vector elements.
Reimplemented from csVector. Definition at line 77 of file cslayout.h. |
|
for convenience.
Definition at line 80 of file cslayout.h. References csBasicVector::Get. |