예제 #1
0
파일: calendar.cpp 프로젝트: gitpan/ponie
UBool
Calendar::operator==(const Calendar& that) const
{
    UErrorCode status = U_ZERO_ERROR;
    return isEquivalentTo(that) &&
        getTimeInMillis(status) == that.getTimeInMillis(status) &&
        U_SUCCESS(status);
}
예제 #2
0
bool ColouredGraphNodePredicates::isEquivalentTo(const ColouredGraphNodePredicates& other) const
{
	return isEquivalentTo(*other.predicates_, other.invariables_, other.objects_);
}
예제 #3
0
bool ColouredGraphNodeGoal::isEquivalentTo(const ColouredGraphNodeGoal& atom) const
{
	return isEquivalentTo(*atom.grounded_atom_);
}