Ignore:
Timestamp:
2008-05-13T14:44:35+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Untangling colservr/recpt) Removed three unused functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.