Changeset 15197

Show
Ignore:
Timestamp:
17.04.2008 13:49:35 (11 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.

Files:
1 modified

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; }