Example #1
0
Predicate* PredicateTable::getPredicate(index_object id) {

	Predicate p;
	p.setIndex(id);

	Predicate *p_finded = *hash.find(&p);
	return p_finded;
}
Example #2
0
void PredicateTable::setIdb(index_object index) {
	Predicate *p = new Predicate;
	p->setIndex(index);
	(*hash.find(p))->setIdb();
	delete p;
}
Example #3
0
void PredicateTable::setEdb(index_object index) {
	Predicate p;
	p.setIndex(index);
	Predicate *tmp = *hash.find(&p);
	tmp->setEdb();
}