C++ Binding: changes for version 1.0c
23rd October 2001
The following changes were made between versions
1.0b
and
1.0c
of the ZOOM C++ binding:
- Removed ugly Z3950_ prefixes from names.
- Renamed search class to query.
- Removed underscore from record-syntax names such as
recordSyntax_GRS1.
- Added recordSyntaxUKMARC.
- Removed trailing comma from recordSyntax enumeration.
- Added const suffix to:
- connection::option()
- connection::errcode()
- connection::errmsg()
- connection::addinfo()
- resultSet::option()
- resultSet::size()
- resultSet::getRecord()
- resultSet::getRecords()
- resultSet::errcode()
- resultSet::errmsg()
- resultSet::addinfo()
- record::field()
- record::render()
- record::rawdata()
- Added virtual destructor declaration to:
- query class
- prefixQuery class
- record class
- Renamed prefix_query class to prefixQuery.
- Added missing public: labels to the query subclasses.
- Removed asimple_query class (implementation-specific)
- Renamed resultSet's record() and
records() method to getRecord() and
getRecords().
- Renamed resultSet::getRecords()'s parameter from
np to psz.
- Added overloaded resultSet::getRecords() method with
interface corresponding with the abstract API's
specification.
- Made resultSet a friend of class connection.
- Made all record methods virtual.
- Added const to return value of
- record::render()
- record::rawdata()
- Added new record subtypes:
- MARCRecord class
- UKMARCRecord class
- USMARCRecord class
- XMLRecord class
- SUTRSRecord class
- GRS1Record class
- Renamed system_error to systemError.
- Removed implementation details (private members) from
systemError.
- Renamed bib1_error to bib1Error.
- Removed implementation details (private members) from
bib1Error.
These changes represent the results of continuing dialogue over how
best to represent the ZOOM API in idiomatic C++ terms.