src/common/db.cpp
bool Result::operator==(const Pair& pair) const throw()
{
    try
    {
        ResultMap::const_iterator i = m_results.find(pair.first);
        if (i != m_results.end())
        {
            return (i->second.toString() == pair.second);
        }
    }
    catch(...)
    {
        // nothing to do
        return false;
    }
    return false;
}
// Check if at least one of fields and it's value matches the
// specified pair
Check if at least one of fields and it's value matches the
specified pair
Check if at least one of fields and it ' s value matches the specified pair
bool Result::operator==(const Pair& pair) const throw()
{
    try
    {
        ResultMap::const_iterator i = m_results.find(pair.first);
        if (i != m_results.end())
        {
            return (i->second.toString() == pair.second);
        }
    }
    catch(...)
    {
        return false;
    }
    return false;
}
bool Result :: operator == ( const Pair & pair ) const throw ( ) { try { ResultMap :: const_iterator i = m_results . find ( pair . first ) ; if ( i != m_results . end ( ) ) { return ( i -> second . toString ( ) == pair . second ) ; } } catch ( ... ) { return false ; } return false ; }
Check if at least one of fields and it's value matches the
specified pair
Check if at least one of fields and it ' s value matches the specified pair
// nothing to do