Esempio n. 1
0
bool ConfigArray::operator == (const ConfigArray &a) const
{
    list<ConfigValue*>::const_iterator it;
    for (it = values.begin(); it != values.end(); it++){
        const ConfigValue *v = a.getValue((*it)->m_name);
        if (v == NULL) return false;
        if (!(*v == *(*it))) return false;
    }
    return true;
}