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 #include <cassowary/ClConstraint.h>
16 #define CONFIG_H_INCLUDED
20 #include <cassowary/ClTableau.h> // for VarSet printing
23 ClConstraint::PrintOn(ostream &xo) const
25 // Note that the trailing "= 0)" or ">= 0)" is missing, as derived classes will
26 // print the right thing after calling this function
27 xo << strength() << " w{" << weight() << "} ta{"
28 << _times_added << "} RO" << _readOnlyVars << " " << "(" << Expression();