X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=doc%2Fzoom.xml;h=238c7d9fe171d83e79b49b9df07d33fdc9dcf8c2;hp=e61a14e47a166dda0b8e410c44778ec37408a00a;hb=42f5f787566c86490724a6f4166ff4196f057ad8;hpb=b44f9237a703f1f88f0d2768e3e358110751bb5f diff --git a/doc/zoom.xml b/doc/zoom.xml index e61a14e..238c7d9 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -1,25 +1,23 @@ - ZOOM-C++ Introduction - ZOOM + ZOOM is the emerging standard API for information retrieval programming using the Z39.50 protocol. ZOOM's - Abstract API + Abstract API specifies semantics for classes representing key IR concepts such as connections, queries, result sets and records; and there are various - bindings + bindings specifying how those concepts should be represented in various programming languages. The YAZ++ library includes an implementation of the C++ binding + url="&url.zoom.bind.cplusplus;">C++ binding for ZOOM, enabling quick, easy development of client applications. @@ -30,7 +28,7 @@ #include <iostream> - #include <yaz++/zoom.h> + #include <yazpp/zoom.h> using namespace ZOOM; @@ -56,7 +54,7 @@ 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 - + All of the classes defined by ZOOM-C++ are in the @@ -146,24 +144,24 @@ (links below). - + References Section 3.2 (Connection) of the ZOOM Abstract API - - - - - The Connections section of the ZOOM-C documentation - - - - - + + + + + The Connections section f the ZOOM-C documentation + + + + + @@ -175,7 +173,7 @@ a specific query notation. - + <literal>ZOOM::prefixQuery</literal> class prefixQuery : public query { @@ -184,15 +182,14 @@ ~prefixQuery (); }; - - This class enables a query to be created by compiling YAZ's - cryptic but powerful - Prefix Query Notation (PQN). - - - - + + This class enables a query to be created by compiling YAZ's + cryptic but powerful + Prefix Query Notation (PQN). + + + + <literal>ZOOM::CCLQuery</literal> class CCLQuery : public query { @@ -204,8 +201,7 @@ This class enables a query to be created using the simpler but less expressive - Common Command Language (CCL). + Common Command Language (CCL). The qualifiers recognised by the CCL parser are specified in an external configuration file in the format described by the YAZ documentation. @@ -219,7 +215,7 @@ - + Discussion It will be readily recognised that these objects have no methods @@ -246,7 +242,7 @@ - + References @@ -257,7 +253,7 @@ - The Queries section of the ZOOM-C documentation @@ -328,7 +324,7 @@ exception. - + References @@ -339,7 +335,7 @@ - The Result Sets section of the ZOOM-C documentation @@ -420,7 +416,7 @@ it apart ``by hand''. - + Memory Management The record objects returned from @@ -458,7 +454,7 @@ - + References @@ -469,7 +465,7 @@ - The Records section of the ZOOM-C documentation @@ -510,7 +506,7 @@ It has three concrete subclasses: - + <literal>ZOOM::systemException</literal> class systemException: public exception { @@ -531,7 +527,7 @@ - + <literal>ZOOM::bib1Exception</literal> class bib1Exception: public exception { @@ -560,7 +556,7 @@ - + <literal>ZOOM::queryException</literal> class queryException: public exception { @@ -594,10 +590,10 @@ to catch exceptions and report any errors: - /* 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; @@ -643,7 +639,7 @@ - + References @@ -654,10 +650,8 @@ - Bib-1 Diagnostics on the - Z39.50 Maintenance Agency site. + Bib-1 Diagnostics on the + Z39.50 Maintenance Agency site. @@ -667,7 +661,7 @@ exception class and its subclasses. The closest thing is the ZOOM_connection_error function described in - The Connections section of the documentation. @@ -684,7 +678,7 @@ 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: