Changeset 344


Ignore:
Timestamp:
1999-07-07T17:44:25+12:00 (25 years ago)
Author:
sjboddie
Message:

Made some changes to allow for new way classifiers work (i.e. you can
now have classifiers containing other classifiers). At present there's
only a special case for dealing with the hdl 'magazine' section. A bit
of a redesign is needed to get it completely flexible

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/browsetools.cpp

    r322 r344  
    1212/*
    1313   $Log$
     14   Revision 1.13  1999/07/07 05:44:25  sjboddie
     15   Made some changes to allow for new way classifiers work (i.e. you can
     16   now have classifiers containing other classifiers). At present there's
     17   only a special case for dealing with the hdl 'magazine' section. A bit
     18   of a redesign is needed to get it completely flexible
     19
    1420   Revision 1.12  1999/07/01 03:47:49  rjmcnab
    1521   Fixed a small warning.
     
    6672#include "OIDtools.h"
    6773
    68 // ouput_book_toc generates and outputs a Book type table of contents
    69 // it should only be called for document level tocs (i.e. when "d"
    70 // argument is set) so it does nothing if "d" isn't set
    71 // This toc is intended for use with collections whose documents are
    72 // simply numbered as pages.
    73 void output_book_toc (const text_t &/*classifytitle*/, cgiargsclass &args,
    74               recptproto *collectproto, displayclass &disp,
    75               outconvertclass &outconvert, ostream &textout,
    76               ostream &logout) {
     74
     75// Note that at present the build software is capable (if you write a plugin to do
     76// it) of generating classifications that contain other classifications of a
     77// different type. This module can only handle one case of that however (i.e. an
     78// AZList containing a Hierarchy classification as used by hdl's 'magazine'
     79// section). It really needs redesigning to handle all cases.
     80
     81
     82/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     83Functions for generating a "Book" type table of contents. These should only be called
     84for document level tocs (i.e. when the "d" argument is set) as I don't think it makes
     85sense to display top level classifications in this way.
     86This type of table of contents is intended for documents whose sub-sections are simply
     87numbered as pages.
     88-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     89
     90void book_toc (const text_t &/*classifytitle*/, cgiargsclass &args,
     91           recptproto *collectproto, displayclass &disp,
     92           outconvertclass &outconvert, ostream &textout,
     93           ostream &logout) {
    7794
    7895  if (args["d"].empty()) return;
     
    161178}
    162179
    163 // output_hierarchy_toc generates and outputs a Hierarchy type table of contents
    164 // this can be used either at top levels (i.e. when "d" argument isn't set) or
    165 // at document level
    166 // a Hierarchy table of contents may be either expanded or contracted
    167 void output_hierarchy_toc (const text_t &/*classifytitle*/, cgiargsclass &args,
    168                recptproto *collectproto, displayclass &disp,
    169                outconvertclass &outconvert, ostream &textout,
    170                ostream &logout) {
    171 
    172   textout << "\n<!-- Table of Contents produced by browsetools::get_hierarchy_toc -->\n\n";
     180
     181/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     182Functions for generating a "Hierarchy" type table of contents. These can be used either
     183at top classification level or at document level (the difference being that a cover
     184image and control buttons are displayed at document level).
     185-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     186
     187void hierarchy_toc (const text_t &classifytype, const text_t &/*classifytitle*/,
     188            cgiargsclass &args, recptproto *collectproto,
     189            displayclass &disp, outconvertclass &outconvert,
     190            ostream &textout, ostream &logout) {
     191
     192  textout << "\n<!-- Table of Contents produced by browsetools::hierarchy_toc -->\n\n";
    173193  textout << "<p><table width=100% cellpadding=0 cellspacing=0 border=0><tr>\n";
    174194
     
    182202 
    183203  // get table of contents
    184   textout << "<td valign=top>\n";
     204  textout << "<td valign=top>\n"
     205      << "<table>\n";
     206
     207  output_hierarchy (classifytype, args, collectproto, disp, outconvert, textout, logout);
     208 
     209  textout << "</table>\n"
     210      << "</td></tr></table>\n"
     211      << "\n<!-- end of Table of Contents -->\n";
     212}
     213
     214void output_hierarchy (const text_t &classifytype, cgiargsclass &args,
     215               recptproto *collectproto, displayclass &disp,
     216               outconvertclass &outconvert, ostream &textout,
     217               ostream &logout) {
     218
    185219  if (args.getintarg("gc"))
    186220    output_expanded_hierarchy_toc(args, collectproto, disp, outconvert, textout, logout);
    187221  else
    188     output_contracted_hierarchy_toc(args, collectproto, disp, outconvert, textout, logout);
    189  
    190   textout << "</td></tr></table>\n";
    191   textout << "\n<!-- end of Table of Contents -->\n";
    192 }
    193 
    194 // at the moment this just rites out the html to display
     222    output_contracted_hierarchy_toc(classifytype, args, collectproto, disp, outconvert, textout, logout);
     223}
     224
     225// at the moment this just writes out the html to display
    195226// the cover image (assuming it's called cover.jpg)
    196227// this whole thing should be done with a call to the collection
     
    262293
    263294
    264 void output_datelist_toc (const text_t &/*classifytitle*/, cgiargsclass &/*args*/,
    265               recptproto */*collectproto*/, displayclass &/*disp*/,
    266               outconvertclass &/*outconvert*/, ostream &/*textout*/,
    267               ostream &/*logout*/) {
    268 }
    269 
    270 // ouput_list_toc generates and outputs a List type table of contents
    271 // it should only be called for classifications (i.e. when the "d"
    272 // argument isn't set) as it doesn't make sense to display document
    273 // level stuff in this way (I think !!)
    274 void output_list_toc (const text_t &classifytitle, cgiargsclass &args,
    275               recptproto *collectproto, displayclass &disp,
    276               outconvertclass &outconvert, ostream &textout,
    277               ostream &logout) {
    278 
    279   text_tarray metadata;
    280   FilterResponse_t response;
    281   text_t &arg_cl = args["cl"];
    282   text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d=";
    283 
    284   metadata.push_back (classifytitle);
    285   metadata.push_back ("Title");
    286 
    287   if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) {
    288 
    289     textout
    290       << "\n<!-- Table of Contents produced by browsetools::output_list_toc "
    291       << "-->\n\n<p>\n";
    292 
    293     ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin();
    294     ResultDocInfo_tarray::const_iterator secend = response.docInfo.end();
    295 
    296     while (sechere != secend) {
    297 
    298       const text_t &ctitle = (*sechere).metadata[0].values[0];
    299       const text_t &title = (*sechere).metadata[1].values[0];
    300 
    301       if (!ctitle.empty()) {
    302     textout << outconvert << disp << "<br>" << doclink << (*sechere).OID
    303         << "\">" + ctitle + "</a>\n";
    304       } else if (!title.empty()) {
    305     textout << outconvert << disp << "<br>" << doclink << (*sechere).OID
    306         << "\">" + title + "</a>\n";
    307       }
    308       sechere ++;
    309     }
    310 
    311     textout << "\n<!-- end of Table of Contents -->\n";
    312   }
    313 }
    314 
    315 // ouput_azlist_toc generates and outputs an AZList type table of contents
    316 // it should only be called for classifications (i.e. when the "d"
    317 // argument isn't set) as it doesn't make sense to display document
    318 // level stuff in this way (I think !!)
    319 void output_azlist_toc (const text_t &classifytitle, cgiargsclass &args,
    320             recptproto *collectproto, displayclass &disp,
    321             outconvertclass &outconvert, ostream &textout,
    322             ostream &logout) {
    323 
    324   text_tarray metadata;
    325   FilterResponse_t response;
    326   text_t &arg_cl = args["cl"];
    327   text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d=";
    328   bool iscreator = false;
    329   if (classifytitle == "Creator") iscreator = true;
    330 
    331   metadata.push_back ("Title");
    332   metadata.push_back ("Creator");
    333   if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) {
    334 
    335     textout
    336       << "\n<!-- Table of Contents produced by browsetools::output_azlist_toc "
    337       << "-->\n\n<table cellpadding=0 cellspacing=2>\n";
    338 
    339     ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin();
    340     ResultDocInfo_tarray::const_iterator secend = response.docInfo.end();
    341 
    342     while (sechere != secend) {
    343 
    344       const text_t &title = (*sechere).metadata[0].values[0];
    345       const text_t &creator = (*sechere).metadata[1].values[0];
    346 
    347       if (iscreator) {
    348     if (!creator.empty()) {
    349       textout << outconvert << disp << "<tr><td valign=top>" << doclink << (*sechere).OID
    350           << "\">_document:iconclosedbook_</a></td><td>"
    351           << creator << "</td><td>";
    352 
    353       if (!title.empty())
    354         textout << outconvert << "&nbsp;&nbsp;" << title;
    355     }
    356       } else {
    357     if (!title.empty()) {
    358       textout << outconvert << disp << "<tr><td valign=top>" << doclink << (*sechere).OID
    359           << "\">_document:iconclosedbook_</a></td><td>" << title << "</td><td>";
    360 
    361       if (!creator.empty())
    362         textout << outconvert << "&nbsp;&nbsp;" << creator;
    363     }
    364       }
    365       textout << "</td></tr>\n";
    366       sechere ++;
    367     }
    368     textout << "</table>\n<!-- end of Table of Contents -->\n";
    369   }
    370 }
    371 
    372 void output_contracted_hierarchy_toc (cgiargsclass &args, recptproto *collectproto,
    373                       displayclass &disp, outconvertclass &outconvert,
    374                       ostream &textout, ostream &logout) {
     295void output_contracted_hierarchy_toc (const text_t &classifytype, cgiargsclass &args,
     296                      recptproto *collectproto,displayclass &disp,
     297                      outconvertclass &outconvert, ostream &textout,
     298                      ostream &logout) {
    375299
    376300  int colnum, tabcount = 0;
     
    402326    // don't want top parent of classification to be displayed
    403327    if (!parents.empty()) parents.erase (parents.begin());
     328
     329    // this is a special case for an AZList containing a Hierarchy toc
     330    if (classifytype == "AZList" && !parents.empty())
     331      parents.erase (parents.begin());
     332
    404333  } else {
    405334    if (has_children (arg_d, args["c"], collectproto, logout)) {
     
    416345  }
    417346
    418   textout << "<table>\n";
    419347  colnum = parents.size() + 1;
    420348
     
    428356    output_siblings_toc (args, siblings, tabcount, colnum, disp,
    429357             outconvert, textout, logout);
    430              
    431   textout << "</table>\n";
    432358}
    433359
     
    457383    classifytype = "Document";
    458384  }
    459 
    460   textout << "<table>\n";
    461385
    462386  // Get OIDs and metadata of all topOIDs contents (and topOID itself)
     
    564488    thissection ++;
    565489  }
    566   textout << "</table>\n";
    567490}
    568491
     
    723646}
    724647
     648
     649/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     650Functions for generating a "List" type table of contents. These can be used only
     651at classification level as it doesn't make sense to display document level stuff
     652this way (I think!!)
     653-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     654
     655void list_toc (const text_t &/*classifytype*/, const text_t &classifytitle,
     656           cgiargsclass &args, recptproto *collectproto,
     657           displayclass &disp, outconvertclass &outconvert,
     658           ostream &textout, ostream &logout) {
     659
     660  text_tarray metadata;
     661  FilterResponse_t response;
     662  text_t &arg_cl = args["cl"];
     663  text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d=";
     664
     665  metadata.push_back (classifytitle);
     666  metadata.push_back ("Title");
     667
     668  if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) {
     669
     670    textout
     671      << "\n<!-- Table of Contents produced by browsetools::output_list_toc "
     672      << "-->\n\n<p>\n";
     673
     674    ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin();
     675    ResultDocInfo_tarray::const_iterator secend = response.docInfo.end();
     676
     677    while (sechere != secend) {
     678
     679      const text_t &ctitle = (*sechere).metadata[0].values[0];
     680      const text_t &title = (*sechere).metadata[1].values[0];
     681
     682      if (!ctitle.empty()) {
     683    textout << outconvert << disp << "<br>" << doclink << (*sechere).OID
     684        << "\">" + ctitle + "</a>\n";
     685      } else if (!title.empty()) {
     686    textout << outconvert << disp << "<br>" << doclink << (*sechere).OID
     687        << "\">" + title + "</a>\n";
     688      }
     689      sechere ++;
     690    }
     691
     692    textout << "\n<!-- end of Table of Contents -->\n";
     693  }
     694}
     695
     696
     697/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     698Functions for generating an "AZList" type table of contents. These can be used only
     699at classification level as it doesn't make sense to display document level stuff
     700this way (I think!!)
     701-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     702
     703void azlist_toc (const text_t &classifytype, const text_t &classifytitle,
     704         cgiargsclass &args, recptproto *collectproto,
     705         displayclass &disp, outconvertclass &outconvert,
     706         ostream &textout, ostream &logout) {
     707
     708  text_tarray metadata;
     709  FilterResponse_t response;
     710  text_t &arg_cl = args["cl"];
     711
     712  textout
     713    << "\n<!-- Table of Contents produced by browsetools::azlist_toc -->\n\n"
     714    << "<table cellpadding=0 cellspacing=2>\n";
     715
     716
     717  if (classifytype == "AZList") {
     718
     719    metadata.push_back ("Title");
     720    metadata.push_back ("Creator");
     721    metadata.push_back ("doctype");
     722
     723    if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout))
     724      output_azlist (response, classifytitle, arg_cl, disp, outconvert, textout);
     725  }
     726
     727  else if (classifytype == "Hierarchy")
     728    output_hierarchy ("AZList", args, collectproto, disp, outconvert, textout, logout);
     729
     730  textout << "</table>\n"
     731      << "<!-- end of Table of Contents -->\n";
     732
     733}
     734
     735// note that this function expects response to contain three fields of metadata
     736// ("Title", "Creator", "doctype") - if they're not there it may cause a run-time error
     737void output_azlist (const FilterResponse_t &response, const text_t &classifytitle,
     738            const text_t &arg_cl, displayclass &disp,
     739            outconvertclass &outconvert, ostream &textout) {
     740
     741  bool iscreator = false;
     742  if (classifytitle == "Creator") iscreator = true;
     743
     744  ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin();
     745  ResultDocInfo_tarray::const_iterator secend = response.docInfo.end();
     746
     747  while (sechere != secend) {
     748
     749    const text_t &title = (*sechere).metadata[0].values[0];
     750    const text_t &creator = (*sechere).metadata[1].values[0];
     751    const text_t &doctype = (*sechere).metadata[2].values[0];
     752
     753    text_t link = "<a href=\"_httpdocument_&cl=";
     754    text_t icon = "_document:iconclosedbook_";
     755
     756    if (doctype == "classify") {
     757      icon = "_document:iconclosedbookshelf_";
     758      link += (*sechere).OID;
     759    } else {
     760      link += arg_cl + "&d=" + (*sechere).OID;
     761    }
     762
     763    if (iscreator) {
     764      if (!creator.empty()) {
     765    textout << outconvert << disp << "<tr><td valign=top>" << link << "\">"
     766        << icon << "</a></td><td>" << creator << "</td><td>";
     767   
     768    if (!title.empty())
     769      textout << outconvert << "&nbsp;&nbsp;" << title;
     770      }
     771    } else {
     772      if (!title.empty()) {
     773    textout << outconvert << disp << "<tr><td valign=top>" << link << "\">"
     774        << icon << "</a></td><td>" << title << "</td><td>";
     775   
     776    if (!creator.empty())
     777      textout << outconvert << "&nbsp;&nbsp;" << creator;
     778      }
     779    }
     780    textout << "</td></tr>\n";
     781    sechere ++;
     782  }
     783}
     784
     785
     786/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     787Functions for generating a "DateList" type table of contents. These can be used only
     788at classification level as it doesn't make sense to display document level stuff
     789this way (I think!!)
     790-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     791
     792void datelist_toc (const text_t &/*classifytype*/, const text_t &/*classifytitle*/,
     793           cgiargsclass &/*args*/, recptproto */*collectproto*/,
     794           displayclass &/*disp*/, outconvertclass &/*outconvert*/,
     795           ostream &/*textout*/, ostream &/*logout*/) {
     796}
     797
     798
     799
     800/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     801-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
    725802
    726803// set_arrow_macros sets the _httpprevarrow_ and _httpnextarrow_ macros
  • trunk/gsdl/src/recpt/browsetools.h

    r284 r344  
    2020#include "recptproto.h"
    2121
    22 void output_book_toc (const text_t &classifytitle, cgiargsclass &args,
    23               recptproto *collectproto, displayclass &disp,
    24               outconvertclass &outconvert, ostream &textout,
    25               ostream &logout);
    26 void output_top_book_toc (ResultDocInfo_t docinfo, cgiargsclass &args, recptproto *collectproto,
    27               displayclass &disp, outconvertclass &outconvert,
    28               ostream &textout, ostream &logout);
    29 void output_standard_book_toc (ResultDocInfo_t docinfo, cgiargsclass &args, recptproto *collectproto,
    30                    displayclass &disp, outconvertclass &outconvert,
    31                    ostream &textout, ostream &logout);
    32 void output_hierarchy_toc (const text_t &classifytitle, cgiargsclass &args,
    33                recptproto *collectproto, displayclass &disp,
    34                outconvertclass &outconvert,ostream &textout,
    35                ostream &logout);
    36 void output_datelist_toc (const text_t &classifytitle, cgiargsclass &args,
    37               recptproto *collectproto, displayclass &disp,
    38               outconvertclass &outconvert, ostream &textout,
    39               ostream &logout);
    40 void output_list_toc (const text_t &classifytitle, cgiargsclass &args,
    41               recptproto *collectproto, displayclass &disp,
    42               outconvertclass &outconvert, ostream &textout,
    43               ostream &logout);
    44 void output_azlist_toc (const text_t &classifytitle, cgiargsclass &args,
    45             recptproto *collectproto, displayclass &disp,
    46             outconvertclass &outconvert, ostream &textout,
    47             ostream &logout);
    48 void output_contracted_hierarchy_toc (cgiargsclass &args, recptproto *collectproto,
    49                       displayclass &disp, outconvertclass &outconvert,
    50                       ostream &textout, ostream &logout);
     22
     23// Note that at present the build software is capable (if you write a plugin to do
     24// it) of generating classifications that contain other classifications of a
     25// different type. This module can only handle one case of that however (i.e. an
     26// AZList containing a Hierarchy classification as used by hdl's 'magazine'
     27// section). It really needs redesigning to handle all cases.
     28
     29
     30/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     31Functions for generating a "Book" type table of contents. These should only be called
     32for document level tocs (i.e. when the "d" argument is set) as I don't think it makes
     33sense to display top level classifications in this way.
     34This type of table of contents is intended for documents whose sub-sections are simply
     35numbered as pages.
     36-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     37
     38void book_toc (const text_t &/*classifytitle*/, cgiargsclass &args,
     39           recptproto *collectproto, displayclass &disp,
     40           outconvertclass &outconvert, ostream &textout,
     41           ostream &logout);
     42
     43
     44/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     45Functions for generating a "Hierarchy" type table of contents. These can be used either
     46at top classification level or at document level (the difference being that a cover
     47image and control buttons are displayed at document level).
     48-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     49
     50void hierarchy_toc (const text_t &classifytype, const text_t &classifytitle,
     51            cgiargsclass &args, recptproto *collectproto,
     52            displayclass &disp, outconvertclass &outconvert,
     53            ostream &textout, ostream &logout);
     54void output_hierarchy (const text_t &classifytype, cgiargsclass &args,
     55               recptproto *collectproto, displayclass &disp,
     56               outconvertclass &outconvert, ostream &textout,
     57               ostream &logout);
     58void output_contracted_hierarchy_toc (const text_t &classifytype, cgiargsclass &args,
     59                      recptproto *collectproto,displayclass &disp,
     60                      outconvertclass &outconvert, ostream &textout,
     61                      ostream &logout);
    5162void output_expanded_hierarchy_toc (cgiargsclass &args, recptproto *collectproto,
    5263                    displayclass &disp, outconvertclass &outconvert,
     
    5970              int &tabcount, int &colnum, displayclass &disp,
    6071              outconvertclass &outconvert, ostream &textout, ostream &logout);
    61 void set_arrow_macros (const text_t &OID, const text_t &classifytype,
    62                displayclass &disp, recptproto *collectproto,
    63                const text_t &collection, ostream &logout);
    6472void output_controls (cgiargsclass &args, recptproto *collectproto,
    6573              displayclass &disp, outconvertclass &outconvert,
     
    7179
    7280
     81/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     82Functions for generating a "List" type table of contents. These can be used only
     83at classification level as it doesn't make sense to display document level stuff
     84this way (I think!!)
     85-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     86
     87void list_toc (const text_t &classifytype, const text_t &classifytitle,
     88           cgiargsclass &args, recptproto *collectproto,
     89           displayclass &disp, outconvertclass &outconvert,
     90           ostream &textout, ostream &logout);
     91
     92
     93/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     94Functions for generating an "AZList" type table of contents. These can be used only
     95at classification level as it doesn't make sense to display document level stuff
     96this way (I think!!)
     97-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     98
     99void azlist_toc (const text_t &classifytype, const text_t &classifytitle,
     100         cgiargsclass &args, recptproto *collectproto,
     101         displayclass &disp, outconvertclass &outconvert,
     102         ostream &textout, ostream &logout);
     103void output_azlist (const FilterResponse_t &response, const text_t &classifytitle,
     104            const text_t &arg_cl, displayclass &disp,
     105            outconvertclass &outconvert, ostream &textout);
     106
     107
     108/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     109Functions for generating a "DateList" type table of contents. These can be used only
     110at classification level as it doesn't make sense to display document level stuff
     111this way (I think!!)
     112-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     113
     114void datelist_toc (const text_t &classifytype, const text_t &classifytitle,
     115           cgiargsclass &args, recptproto *collectproto,
     116           displayclass &disp, outconvertclass &outconvert,
     117           ostream &textout, ostream &logout);
     118
     119
     120/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     121-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
     122
     123void set_arrow_macros (const text_t &OID, const text_t &classifytype,
     124               displayclass &disp, recptproto *collectproto,
     125               const text_t &collection, ostream &logout);
     126
     127
     128
    73129
    74130#endif
Note: See TracChangeset for help on using the changeset viewer.