head	1.2;
access
	thoth
	monica
	fjsoria;
symbols;
locks; strict;
comment	@// @;


1.2
date	94.12.08.22.43.07;	author monica;	state Exp;
branches;
next	1.1;

1.1
date	94.09.14.18.48.00;	author monica;	state Exp;
branches;
next	;


desc
@@


1.2
log
@minor typo fix
@
text
@// Emacs: -*- C++ -*-

// printIPS.h      Subroutine to print int point sets.

#include "IntPS.h"
#include "PSIter.h"

typedef IA_PSIter<IA_Point<int> > IA_IPSIter;

void printIPS( const IA_Set<IA_Point<int> > & ips ) {
    IA_Point<int> ip;
    IA_IPSIter    iter(ips); // iter is an iterator over the points in ips

    cout << "{";
    for(iter(ip);;) {             // Get first point
	cout << ip;               // Print it
	if (iter(ip) == 0) break; // Check (and get) next point OR exit
	cout << ", ";             // Print comma for the new point
    }
    cout << "}";
}
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
// printIPS.c      Subroutine to print int point sets.
@
