Changeset 15197


Ignore:
Timestamp:
2008-04-17T13:49:35+12:00 (16 years ago)
Author:
mdewsnip
Message:

Added an erase() function because we need to clean up the params list, for validation with the OAI validator. By DL Consulting Ltd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/oaiservr/oaiargs.h

    r8182 r15197  
    2020    return dummy; // Dodgy, but text_t's are initialised to "", so should be fine
    2121  };
     22
     23  void erase(const text_t &label) {
     24    this->arguments.erase(label);
     25  }
     26
    2227  void readArgs(istream &stream);
    2328  bool hasDuplicateArg() { return this->duplicateArg; }
Note: See TracChangeset for help on using the changeset viewer.