greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 15417

Show
Ignore:
Timestamp:
2008-05-13 14:44:35 (2 months ago)
Author:
mdewsnip
Message:

(Untangling colservr/recpt) Removed three unused functions.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gsdl/trunk/src/recpt/OIDtools.h

    r11259 r15417  
    6464bool has_children (const text_t &OID, const text_t &collection, const text_t &lang,  
    6565                   recptproto *collectproto, ostream &logout); 
    66 bool has_text(const text_t &OID, const text_t &collection, const text_t &lang, 
    67                    recptproto *collectproto, ostream &logout); 
    68  
    69 inline bool has_text(MetadataInfo_tmap& metadata) 
    70 { 
    71         if (metadata["hastxt"].values.size() > 0) { 
    72                 return metadata["hastxt"].values[0].getint() != 0; 
    73         } 
    74         return false; 
    75 } 
    76  
    77 inline bool has_children(MetadataInfo_tmap& metadata) 
    78 { 
    79         if (metadata["haschildren"].values.size() > 0) { 
    80                 return metadata["haschildren"].values[0].getint() != 0; 
    81         } 
    82         return false; 
    83 } 
    8466 
    8567// get_children does a protocol call and returns (in response) the OIDs and