Ignore:
Timestamp:
1999-09-02T12:25:27+12:00 (25 years ago)
Author:
rjmcnab
Message:

changes to get compiling on AIX

File:
1 edited

Legend:

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

    r459 r509  
    1212/*
    1313   $Log$
     14   Revision 1.17  1999/09/02 00:25:26  rjmcnab
     15   changes to get compiling on AIX
     16
    1417   Revision 1.16  1999/08/13 04:19:05  sjboddie
    1518   added name attribute to metadata
     
    151154
    152155
     156bool operator==(const FilterOption_t &x, const FilterOption_t &y) {
     157  return ((x.name == y.name) &&
     158      (x.type == y.type) &&
     159      (x.repeatable == y.repeatable) &&
     160      (x.defaultValue == y.defaultValue) &&
     161      (x.validValues == y.validValues));
     162}
     163
     164bool operator<(const FilterOption_t &x, const FilterOption_t &y) {
     165  return ((x.name < y.name) ||
     166      ((x.name == y.name) &&
     167       ((x.type < y.type) ||
     168        ((x.type == y.type) &&
     169         ((x.repeatable < y.repeatable) ||
     170          ((x.repeatable == y.repeatable) &&
     171           ((x.defaultValue < y.defaultValue) ||
     172        ((x.defaultValue == y.defaultValue) &&
     173         (x.validValues < y.validValues)))))))));
     174}
     175
     176
     177
    153178void InfoFilterOptionsResponse_t::clear () {
    154179  filterOptions.erase(filterOptions.begin(), filterOptions.end());
Note: See TracChangeset for help on using the changeset viewer.