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 }
JBoolean JTableData::ColsRemoved::AdjustIndex ( JIndex* index ) const { return JAdjustIndexAfterRemove(GetFirstIndex(), GetCount(), index); }
JBoolean JVariableList::VarRemoved::AdjustIndex ( JIndex* index ) const { return JAdjustIndexAfterRemove(GetIndex(), 1, index); }
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 }