<chapter id="zoom">
- <!-- $Id: zoom.xml,v 1.10 2002-10-23 12:22:19 mike Exp $ -->
+ <!-- $Id: zoom.xml,v 1.15 2006-04-25 12:37:05 marc Exp $ -->
<title>ZOOM-C++</title>
</para>
<para>
For example, here is a tiny Z39.50 client that fetches and displays
- the MARC record for Farlow & Brett Surman's
+ the MARC record for Farlow & Brett Surman's
<citetitle>The Complete Dinosaur</citetitle>
from the Library of Congress's Z39.50 server:
</para>
<programlisting>
#include <iostream>
- #include <yaz++/zoom.h>
+ #include <yazpp/zoom.h>
using namespace ZOOM;
implementation of the C binding. For information on the supported
options and other such details, see the ZOOM-C documentation, which
can be found on-line at
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.php"/>
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.tkl"/>
</para>
<para>
All of the classes defined by ZOOM-C++ are in the
</listitem>
<listitem>
<para>
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.php#zoom.connections"
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.tkl#zoom.connections"
>The Connections section of the ZOOM-C documentation</ulink>
</para>
</listitem>
<para>
This class enables a query to be created by compiling YAZ's
cryptic but powerful
- <ulink url="http://www.indexdata.dk/yaz/doc/tools.php#PQF"
+ <ulink url="http://www.indexdata.dk/yaz/doc/tools.tkl#PQF"
>Prefix Query Notation (PQN)</ulink>.
</para>
</sect2>
<para>
This class enables a query to be created using the simpler but
less expressive
- <ulink url="http://www.indexdata.dk/yaz/doc/tools.php#CCL"
+ <ulink url="http://www.indexdata.dk/yaz/doc/tools.tkl#CCL"
>Common Command Language (CCL)</ulink>.
The qualifiers recognised by the CCL parser are specified in an
external configuration file in the format described by the YAZ
</listitem>
<listitem>
<para>
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.query.php"
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.query.tkl"
>The Queries section of the ZOOM-C documentation</ulink>
</para>
</listitem>
</listitem>
<listitem>
<para>
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.resultsets.php"
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.resultsets.tkl"
>The Result Sets section of the ZOOM-C documentation</ulink>
</para>
</listitem>
<sect2>
<title>Memory Management</title>
<para>
- The <literal>record</literal> obejcts returned from
+ The <literal>record</literal> objects returned from
<literal>resultSet::getRecord()</literal> are ``owned'' by the
result set object: that means that the application is not
responsible for <literal>delete</literal>ing them - each
</listitem>
<listitem>
<para>
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.records.php"
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.records.tkl"
>The Records section of the ZOOM-C documentation</ulink>
</para>
</listitem>
to catch exceptions and report any errors:
</para>
<programlisting>
- /* g++ -o zoom-c++-hw zoom-c++-hw.cpp -lyaz++ -lyaz */
+ /* g++ -o zoom-c++-hw zoom-c++-hw.cpp -lzoompp -lyaz */
#include <iostream>
- #include <yaz++/zoom.h>
+ #include <yazpp/zoom.h>
using namespace ZOOM;
<literal>exception</literal> class and its subclasses. The
closest thing is the <literal>ZOOM_connection_error</literal>
function described in
- <ulink url="http://www.indexdata.dk/yaz/doc/zoom.php#zoom.connections"
+ <ulink url="http://www.indexdata.dk/yaz/doc/zoom.tkl#zoom.connections"
>The Connections section</ulink> of the documentation.
</para>
</sect2>
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
- sgml-parent-document: "yaz++.xml"
+ sgml-parent-document: "yazpp.xml"
sgml-local-catalogs: nil
sgml-namecase-general:t
End: