summaryrefslogtreecommitdiff
path: root/libs/cassowary/ClFloatVariable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cassowary/ClFloatVariable.cc')
-rw-r--r--libs/cassowary/ClFloatVariable.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/cassowary/ClFloatVariable.cc b/libs/cassowary/ClFloatVariable.cc
new file mode 100644
index 0000000000..a3096e4b08
--- /dev/null
+++ b/libs/cassowary/ClFloatVariable.cc
@@ -0,0 +1,25 @@
+// $Id$
+//
+// Cassowary Incremental Constraint Solver
+// Original Smalltalk Implementation by Alan Borning
+// This C++ Implementation by Greg J. Badros, <gjb@cs.washington.edu>
+// http://www.cs.washington.edu/homes/gjb
+// (C) 1998, 1999 Greg J. Badros and Alan Borning
+// See ../LICENSE for legal details regarding this software
+//
+// ClFloatVariable.cc
+
+#include <cassowary/ClFloatVariable.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#define CONFIG_H_INCLUDED
+#endif
+
+#ifndef CL_NO_IO
+ostream &ClFloatVariable::PrintOn(ostream &xo) const
+{
+ xo << "[" << Name() << ":" << _value << "]";
+ return xo;
+}
+#endif