コード例 #1
0
void
JDiscreteVarEquality::VariablesRemoved
	(
	const JIndex	firstIndex,
	const JSize		count
	)
{
	JDecision::VariablesRemoved(firstIndex, count);
	JBoolean ok = JAdjustIndexAfterRemove(firstIndex, count, &(itsVarIndex[0]));
	assert( ok );	// JVariableList must insure this
	ok = JAdjustIndexAfterRemove(firstIndex, count, &(itsVarIndex[1]));
	assert( ok );	// JVariableList must insure this
}
コード例 #2
0
JBoolean
JTableData::ColsRemoved::AdjustIndex
	(
	JIndex* index
	)
	const
{
	return JAdjustIndexAfterRemove(GetFirstIndex(), GetCount(), index);
}
コード例 #3
0
JBoolean
JVariableList::VarRemoved::AdjustIndex
	(
	JIndex* index
	)
	const
{
	return JAdjustIndexAfterRemove(GetIndex(), 1, index);
}
コード例 #4
0
void
JFunctionWithVar::VariablesRemoved
	(
	const JIndex	firstIndex,
	const JSize		count
	)
{
	JFunction::VariablesRemoved(firstIndex, count);
	const JBoolean ok = JAdjustIndexAfterRemove(firstIndex, count, &itsVariableIndex);
	assert( ok );	// JVariableList must insure this
}