Esempio n. 1
0
bool cliqueHash::finished()
{

    if ( curr_hash_key == size ) return true;
    else if ( getKeyCount() == 0 ) return true;
    else return false;

}
Esempio n. 2
0
    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";
        }
    }
Esempio n. 3
0
bool InputGroup::containsOnly(const InputGroup & input) const
{
	return containsAllOf(input) && input.getKeyCount() == getKeyCount();
}