32 static const int MAX_HIERARCHY_DEPTH = 10;
33 GBQUARK quark[MAX_HIERARCHY_DEPTH];
36 void invalidate() { quark[0] = 0; }
45 if (!quark[
offset])
return;
53 bool is_valid()
const {
return quark[0] != 0; }
65 if (!quark[
offset])
return !q;
66 if (q != quark[offset])
return false;
84 if (quark[offset] != other.quark[offset])
return false;
86 return other.quark[
offset] == 0;
110 #error ad_hcb.h included twice
#define implicated(hypothesis, conclusion)
const gb_hierarchy_location & get_location() const
char * get_db_path(GBDATA *gb_main) const
gb_hierarchy_callback(const TypedDatabaseCallback &spec_, const gb_hierarchy_location &loc_)
bool triggered_by(GBDATA *gbd) const
bool matches(GBDATA *gbd) const
bool operator==(const gb_hierarchy_location &other) const
GBQUARK GB_KEY_QUARK(GBDATA *gbd)
gb_hierarchy_location(GBDATA *gbd)
GBCONTAINER * get_father()