<add> <add a overload of AddIntoCache in IVtree>

This commit is contained in:
qinzongyue 2017-07-16 15:24:43 +08:00
parent 74471b9476
commit a341cdf1fc
1 changed files with 11 additions and 0 deletions

View File

@ -622,6 +622,17 @@ IVTree::release(IVNode* _np) const
delete _np;
}
void
IVTree::AddIntoCache(TYPE_PREDICATE_ID _id)
{
char* _tmp = NULL;
unsigned _len;
this->search(_id, _tmp, _len);
// cout << "len is " << len << endl;
this->value_list->AddIntoCache(_id, _tmp, _len);
delete [] _tmp;
}
void
IVTree::AddIntoCache(TYPE_ENTITY_LITERAL_ID _id)
{