DLL exports
[yazpp-moved-to-github.git] / zoom / Changes
1 $Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.4 2002-10-08 23:54:55 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 comment about G++'s rejection of throw(ZOOM:exception) clause.
13
14 Add destructor declaration to connection class.
15
16 Remove errcode(), errmsg() and addinfo() methods from the connection
17 and resultSet classes, since exceptions should be used in these
18 enlightened days.
19
20 Rename the record::recordSyntax enumeration to record::syntax, and add
21 an UNKNOWN element.
22
23 Remove "virtual" from all the record class's methods, including its
24 destructor, since we no longer expect to derive record subclasses
25 representing records expressed in specific record-syntaxes -- see
26 version 1.3 of the ZOOM AAPI.
27
28 Remove the nfields() and field() methods from the record class --
29 again, see v1.3 of the AAPI.
30
31 Rename the error class to exception, and its subclasses likewise.  I
32 think that's Telling It Like It Is, and it's certainly more in tune
33 with the was v1.3 of the AAPI is going.
34
35 Add some substance to the exception base class: it can now be created
36 (with an error-code specified), and the error-code may be both fetched
37 and rendered as a human-readable string.  This is necessary so that
38 it's possible to meaningfully catch(exception& e).
39
40 Add the missing char *errmsg() method to the systemException and
41 bib1Exception classes.
42
43 Add a new exception subclass, queryException, for reporting malformed
44 query strings etc.