From b79576d9970810e60bc7b34cc9af56f3139fa5d8 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 9 Oct 2002 11:44:44 +0000 Subject: [PATCH] use instead of ; put synopses outside paragraphs (same style as Yaz docs) --- doc/zoom.xml | 62 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/doc/zoom.xml b/doc/zoom.xml index 709a295..7aac7d8 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -1,5 +1,5 @@ - + ZOOM-C++ @@ -27,7 +27,8 @@ The Complete Dinosaur from the Library of Congress's Z39.50 server: - + + #include <iostream> #include <yaz++/zoom.h> @@ -41,7 +42,8 @@ const record *rec = rs.getRecord(0); cout << rec->render() << endl; } - + + (Note that, for the sake of simplicity, this does not check for errors: we show a more realistic version of this program later.) @@ -110,7 +112,8 @@ The class has this declaration: - + + class connection { public: connection (const char *hostname, int portnum); @@ -118,8 +121,7 @@ const char *option (const char *key) const; const char *option (const char *key, const char *val); }; - - + ### discusson @@ -142,28 +144,28 @@ <literal>ZOOM::prefixQuery</literal> The class has this declaration: - + + class prefixQuery : public query { public: prefixQuery (const char *pqn); ~prefixQuery (); }; - - + <literal>ZOOM::CCLQuery</literal> The class has this declaration: - + + class CCLQuery : public query { public: CCLQuery (const char *ccl, void *qualset); ~CCLQuery (); }; - - + @@ -194,7 +196,8 @@ The class has this declaration: - + + class resultSet { public: resultSet (connection &c, const query &q); @@ -204,8 +207,7 @@ size_t size () const; const record *getRecord (size_t i) const; }; - - + ### discusson @@ -224,7 +226,8 @@ The class has this declaration: - + + class record { public: ~record (); @@ -236,8 +239,7 @@ const char *render () const; const char *rawdata () const; }; - - + ### discusson @@ -254,14 +256,16 @@ The ZOOM::exception class is a virtual base class, representing a diagnostic generated by the ZOOM-C++ library or returned from a server. ### - + + class exception { public: exception (int code); int errcode () const; const char *errmsg () const; }; - + + This class has three (so far) concrete subclasses: @@ -269,22 +273,23 @@ <literal>ZOOM::systemException</literal> The class has this declaration: - + + class systemException: public exception { public: systemException (); int errcode () const; const char *errmsg () const; }; - - + <literal>ZOOM::bib1Exception</literal> The class has this declaration: - + + class bib1Exception: public exception { public: bib1Exception (int errcode, const char *addinfo); @@ -292,15 +297,15 @@ const char *errmsg () const; const char *addinfo () const; }; - - + <literal>ZOOM::queryException</literal> The class has this declaration: - + + class queryException: public exception { public: static const int PREFIX = 1; @@ -310,8 +315,7 @@ const char *errmsg () const; const char *addinfo () const; }; - - + -- 1.7.10.4