Ignore:
Timestamp:
12/03/14 18:52:05 (9 years ago)
Author:
Maciej Komosinski
Message:
  • added strmove(): strcpy() for overlapping strings
  • ExtObject? operator== can handle NULL arguments
  • source formatting and improved genetic operator messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/extvalue.cpp

    r247 r257  
    5151        if (destroy) delete dbobject;
    5252        }
     53}
     54
     55bool ExtObject::operator==(const ExtObject& src) const
     56{
     57if (object!=src.object) return false;
     58const char* n1=interfaceName();
     59const char* n2=src.interfaceName();
     60return (n1==n2) || (strcmp(n1,n2)==0);
    5361}
    5462
Note: See TracChangeset for help on using the changeset viewer.