CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csConstraintVector Class Reference
[Layouting]

The layout classes collect the constraints in here. More...

#include <cslayout.h>

Inheritance diagram for csConstraintVector:

csVector csBasicVector List of all members.

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...

csLayoutConstraintGet (int idx)
 for convenience. More...


Detailed Description

The layout classes collect the constraints in here.

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.


Member Function Documentation

virtual int csConstraintVector::Compare void *    Item1,
void *    Item2,
int    Mode = 0
const [inline, virtual]
 

for looking up an constraint by comparing the attached components.

Reimplemented from csVector.

Definition at line 61 of file cslayout.h.

References csLayoutConstraint::comp.

virtual int csConstraintVector::CompareKey void *    Item1,
const void *    Item2,
int    Mode = 0
const [inline, virtual]
 

look up an constraint given a components.

Reimplemented from csVector.

Definition at line 69 of file cslayout.h.

References csLayoutConstraint::comp.

virtual bool csConstraintVector::FreeItem void *    Item [inline, virtual]
 

for automatic cleanup of the vector elements.

Reimplemented from csVector.

Definition at line 77 of file cslayout.h.

csLayoutConstraint* csConstraintVector::Get int    idx [inline]
 

for convenience.

Definition at line 80 of file cslayout.h.

References csBasicVector::Get.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14