bool cliqueHash::finished() { if ( curr_hash_key == size ) return true; else if ( getKeyCount() == 0 ) return true; else return false; }
CallingRange::CallingRange() : updateCount_(0), callerType_(FunctionCall::instance().callerType()) { if (callerType_ == CallerType::Cell) { // name the calling range key_ = getKeyCount(); XLOPER xRet; Excel(xlfSetName, &xRet, 2, TempStrStl(key_), FunctionCall::instance().callerReference()); OH_REQUIRE(xRet.xltype == xltypeBool && xRet.val.boolean, "Error on call to xlfSetName"); } else { key_ = "VBA"; } }
bool InputGroup::containsOnly(const InputGroup & input) const { return containsAllOf(input) && input.getKeyCount() == getKeyCount(); }