------------------------------------------------------------------------- LogField::operator== This operator does only care of the name and m_symbol, may need do check on others layter. -------------------------------------------------------------------------*/
| 639 | do check on others layter. |
| 640 | -------------------------------------------------------------------------*/ |
| 641 | bool |
| 642 | LogField::operator==(LogField &rhs) |
| 643 | { |
| 644 | if (strcmp(name(), rhs.name()) || strcmp(symbol(), rhs.symbol())) { |
| 645 | return false; |
| 646 | } else { |
| 647 | return true; |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | /*------------------------------------------------------------------------- |
| 652 | -------------------------------------------------------------------------*/ |