Subtle tweaks to ZOOM's master-header. Cosmetic only.
[yazpp-moved-to-github.git] / zoom / Changes
1 $Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.5 2002-11-04 23:08:49 mike Exp $
2
3 Changes between the current version of the C++ binding specification
4 (http://zoom.z3950.org/bind/cplusplus/zoom-1.0g.hh) and the
5 specification generated in "interface.h" in this directory (which I
6 expect to become version 1.3a of the official specification.)
7
8 --
9
10 Add #include <stddef.h> for size_t.
11
12 Add destructor declaration to connection class.
13
14 Remove errcode(), errmsg() and addinfo() methods from the connection
15 and resultSet classes, since exceptions should be used in these
16 enlightened days.
17
18 Rename the record::recordSyntax enumeration to record::syntax, and add
19 an UNKNOWN element.
20
21 Remove "virtual" from all the record class's methods, including its
22 destructor, since we no longer expect to derive record subclasses
23 representing records expressed in specific record-syntaxes -- see
24 section ### of version 1.3 of the ZOOM AAPI.
25
26 Remove the nfields() and field() methods from the record class --
27 see section ### of v1.3 of the AAPI.
28
29 Rename the error class to exception, and its subclasses likewise.  I
30 think that's Telling It Like It Is, and it's certainly more in tune
31 with the way v1.3 of the AAPI is going.
32
33 Add some substance to the exception base class: it can now be created
34 (with an error-code specified), and the error-code may be both fetched
35 and rendered as a human-readable string.  This is necessary so that
36 it's possible to meaningfully catch(exception& e).
37
38 Add the missing char *errmsg() method to the systemException and
39 bib1Exception classes.
40
41 Add a new exception subclass, queryException, for reporting malformed
42 query strings etc.