CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csConstraintVector Class Reference
[Layouting]

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

#include <csws/cslayout.h>

Inheritance diagram for csConstraintVector:

csPDelArray< csLayoutConstraint > csArray< csLayoutConstraint *, csPDelArrayElementHandler< csLayoutConstraint * > > List of all members.

Static Public Member Functions

int CompareKey (csLayoutConstraint *const &Item1, csComponent *const &Item2)
 Look up an constraint given a components.
csArrayCmp< csLayoutConstraint *,
csComponent * > 
KeyCmp (csComponent *c)
 Return a functor wrapping CompareKey() for a given component.

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 60 of file cslayout.h.


Member Function Documentation

int csConstraintVector::CompareKey csLayoutConstraint *const &  Item1,
csComponent *const &  Item2
[inline, static]
 

Look up an constraint given a components.

Definition at line 65 of file cslayout.h.

References csLayoutConstraint::comp.

csArrayCmp<csLayoutConstraint*,csComponent*> csConstraintVector::KeyCmp csComponent c  )  [inline, static]
 

Return a functor wrapping CompareKey() for a given component.

Definition at line 71 of file cslayout.h.


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