variable.cpp 648 B

123456789101112131415161718192021
  1. /**
  2. *
  3. * Authors:
  4. * Tim Dwyer <[email protected]>
  5. *
  6. * Copyright (C) 2005 Authors
  7. *
  8. * This version is released under the CPL (Common Public License) with
  9. * the Graphviz distribution.
  10. * A version is also available under the LGPL as part of the Adaptagrams
  11. * project: https://github.com/mjwybrow/adaptagrams.
  12. * If you make improvements or bug fixes to this code it would be much
  13. * appreciated if you could also contribute those changes back to the
  14. * Adaptagrams repository.
  15. */
  16. #include <vpsc/variable.h>
  17. std::ostream& operator <<(std::ostream &os, const Variable &v) {
  18. os << "(" << v.id << "=" << v.position() << ")";
  19. return os;
  20. }