diff doc/misc/html/oldclasslib/pair.html @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/misc/html/oldclasslib/pair.html	Sat Dec 22 17:52:45 2007 -0500
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>Pair Class Definition</TITLE>
+</HEAD>
+
+
+<BODY BGCOLOR="#ffffff" BACKGROUND="tilbl6h.gif"
+ TEXT="#000000" LINK="#0033CC"
+ VLINK="#CC0033" ALINK="#CC0099">
+
+<P>
+<IMG ALIGN="right" SRC="../images/agrsl6c.gif" ALT="AnaGram"
+         WIDTH=124 HEIGHT=30 >
+<BR CLEAR="all">
+Back to :
+<A HREF="../index.html">Index</A> |
+<A HREF="index.html">Class libraries for examples</A>
+<P>
+
+<IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
+        WIDTH=1010 HEIGHT=2  >
+<P>
+
+<H1>Pair Class Definition</H1>
+<IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
+        WIDTH=1010 HEIGHT=2  >
+<P>
+<BR>
+<H2>Introduction</H2>
+<P>
+          <CODE> pair&lt;class T&gt; </CODE> is a template class that provides arithmetic
+          and comparison operations on ordered pairs of elements of
+          type T. Class T must  implement arithmetic and comparison
+          operators.
+<P>
+          All operations are element-wise, including multiplication,
+          division and comparisons. Using these definitions, sets
+          of pairs are not well ordered in the mathematical sense. That
+          is, it is possible that for pairs p and q both p &lt; q and
+          p &gt; q could be false.
+<P>
+          Pairs of integers are quite useful for recording and
+          manipulating screen coordinates.
+<P>
+<BR>
+
+<H2>     Constructors </H2>
+
+          There are two constructors, one which takes two arguments of
+          type T, and sets the elements of the pair appropriately. The
+          other constructor takes no arguments, and initializes the
+          elements to zero.
+
+<P>
+<BR>
+
+
+<IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
+      WIDTH=1010 HEIGHT=2 >
+<P>
+<IMG ALIGN="right" SRC="../images/pslrb6d.gif" ALT="Parsifal Software"
+                WIDTH=181 HEIGHT=25>
+<BR CLEAR="right">
+
+<P>
+Back to :
+<A HREF="../index.html">Index</A> |
+<A HREF="index.html">Class libraries for examples</A>
+
+<P>
+<ADDRESS><FONT SIZE="-1">
+                  AnaGram parser generator - examples<BR>
+                  Class libraries - Pair class definition<BR>
+                  Copyright &copy; 1993-1999, Parsifal Software. <BR>
+                  All Rights Reserved.<BR>
+</FONT></ADDRESS>
+
+</BODY>
+</HTML>
+