Added ZOOM.
[yazpp-moved-to-github.git] / zoom / Changes
1 Changes between the current version of the C++ binding specification
2 (http://zoom.z3950.org/bind/cplusplus/zoom-1.0g.hh) and the
3 specification generated in "interface.h" in this directory (which I
4 expect to become version 1.3a of the official specification.)
5
6 --
7
8 Add #include <stddef.h> for size_t
9
10 Add comment about G++'s rejection of throw(ZOOM:error) clause
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 version 1.3 of the ZOOM AAPI.
25
26 Remove the nfields() and field() methods from the record class --
27 again, see v1.3 of the AAPI.
28
29 Add some substance to the error base class: it can now be created
30 (with an error-code specified), and the error-code may be both fetched
31 and rendered as a human-readable string.  This is necessary so that
32 it's possible to meaningfully catch(error e).
33
34 Add the missing char *errmsg() method to the systemError and bib1Error
35 classes.
36
37 Add a new error subclass, queryError, for reporting malformed query
38 strings etc.