3 // Cassowary Incremental Constraint Solver
4 // Original Smalltalk Implementation by Alan Borning
5 // This C++ Implementation by Greg J. Badros, <gjb@cs.washington.edu>
6 // http://www.cs.washington.edu/homes/gjb
7 // (C) 1998, 1999 Greg J. Badros and Alan Borning
8 // See ../LICENSE for legal details regarding this software
12 #ifndef CL_TYPEDEFS_H__
13 #define CL_TYPEDEFS_H__
15 #if defined(HAVE_CONFIG_H) && !defined(CONFIG_H_INCLUDED) && !defined(CONFIG_INLINE_H_INCLUDED)
16 #include <cassowary/config-inline.h>
17 #define CONFIG_INLINE_H_INCLUDED
20 #include "ClLinearExpression_fwd.h"
33 typedef set<ClVariable> ClVarSet;
34 typedef map<ClVariable, ClVarSet > ClTableauColumnsMap;
35 typedef map<ClVariable, ClLinearExpression *> ClTableauRowsMap;
38 typedef map<const ClConstraint *, ClVarSet> ClConstraintToVarSetMap;
39 typedef map<const ClConstraint *, ClVariable> ClConstraintToVarMap;
40 typedef map<ClVariable, const ClConstraint *> ClVarToConstraintMap;
41 typedef vector<ClVariable> ClVarVector;
43 typedef set<const ClConstraint *> ClConstraintSet;
46 typedef map<ClVariable, ClConstraintSet> ClVarToConstraintSetMap;