51 for (
unsigned int i=0;i<
_operator.size();++i)
53 for (
unsigned int i=0;i<
_result.size();++i)
100 std::vector< std::pair< StatusBefore, int > >
_operator;
102 std::vector< std::pair< StatusAfter, int > >
_result;
120 {
for (
unsigned int i=0;i<
_operator1.size();++i) {
125 {
for (
unsigned int i=0;i<
_operator2.size();++i) {
129 {
for (
unsigned int i=0;i<
_result.size();++i) {
144 _result[nbRes].second.first = nbOp1;
145 _result[nbRes].second.second = nbOp2;
188 std::vector< std::pair< StatusAfter, operator1_operator2 > >
_result;
192 #endif // INC_Tracking
StatusAfter getResultEntityStatus(unsigned int nb)
Get the nb-th entity status after the operation.
void setOperator2EntityAsUnchanged(unsigned int nbOp2)
Mark Operator_UNCHANGED the nbOp2-th entity of operator2.
void setResult_Operator1Operator2(unsigned int nbRes, int nbOp1, int nbOp2)
Set the link between the nbRes-th entity of the result and the nbOp1-th entity of operator1 and the n...
void setResult_Operator(unsigned int nbRes, int nb)
Set the link between the nb-th entity of operator1 and the nbRes-th entity of the result...
void setOperator1EntityAsUnchanged(unsigned int nbOp1)
Mark Operator_UNCHANGED the nbOp1-th entity of operator1.
void setOperator2_Result(unsigned int nbOp2, int nbRes)
Set the link between the nbOp2-th entity of operator2 and the nbRes-th entity of the result...
void setOperator1EntityAsModified(unsigned int nbOp1)
Mark Operator_MODIFIED the nbOp1-th entity of operator1.
void setResultEntityAsUnchanged(unsigned int nb)
Mark as Result_UNCHANGED the nb-th entity before the operation.
void setResultEntityAsModified(unsigned int nbRes)
Mark Result_MODIFIED the nbRes-th entity of the result.
std::vector< std::pair< StatusBefore, int > > _operator2
List of the entities before the given operation with their status and the entity number it is connect...
void setOperator1_Result(unsigned int nbOp1, int nbRes)
Set the link between the nbOp1-th entity of operator1 and the nbRes-th entity of the result...
const std::vector< std::pair< StatusAfter, int > > & getResultToOperator() const
void setResultEntityAsUnknown(unsigned int nb)
Mark as Result_UNKNOWN the nb-th entity after the operation.
void setOperator1EntityAsDeleted(unsigned int nbOp1)
Mark Operator_DELETED the nbOp1-th entity of operator1.
std::vector< std::pair< StatusAfter, operator1_operator2 > > _result
List of the entities after the given operation with their status and the entity numbers it is connect...
void setNumbersOfEntities(unsigned int nbEntBefore, unsigned int nbEntAfter)
This class stores static function that dispatch the main geometric values we use. ...
This class stores static function that dispatch the main geometric values we use. ...
void setOperatorEntityAsUnchanged(unsigned int nb)
Mark as Operator_UNCHANGED the nb-th entity before the operation.
void setResultEntityAsCreated(unsigned int nbRes)
Mark Result_CREATED the nbRes-th entity of the result.
void setResultEntityAsUnchanged(unsigned int nbRes)
Mark Result_UNCHANGED the nbRes-th entity of the result.
void setOperator2EntityAsDeleted(unsigned int nbOp2)
Mark Operator_DELETED the nbOp2-th entity of operator2.
void setNumbersOfEntities(unsigned int nbEntBefore1, unsigned int nbEntBefore2, unsigned int nbEntAfter)
void setResultEntityAsUnknown(unsigned int nbRes)
Mark Result_UNKNOWN the nbRes-th entity of the result.
std::vector< std::pair< StatusAfter, int > > _result
List of the entities after the given operation with their status and the entity number it is connecte...
void setResultEntityAsModified(unsigned int nb)
Mark as Result_MODIFIED the nb-th entity after the operation.
std::vector< std::pair< StatusBefore, int > > _operator
List of the entities before the given operation with their status and the entity number it is connect...
std::pair< int, int > operator1_operator2
std::vector< std::pair< StatusBefore, int > > _operator1
List of the entities before the given operation with their status and the entity number it is connect...
const std::vector< std::pair< StatusAfter, operator1_operator2 > > & getResultStatus_Operator1Operator2() const
TrackingBinaryOperation()
void setOperator_Result(unsigned int nb, int nbRes)
Set the link between the nb-th entity of operator1 and the nbRes-th entity of the result...
void setResultEntityAsCreated(unsigned int nb)
Mark as Result_CREATED the nb-th entity after the operation.
void setOperator2EntityAsModified(unsigned int nbOp2)
Mark Operator_MODIFIED the nbOp2-th entity of operator2.
const std::vector< std::pair< StatusBefore, int > > & getOperatorToResult() const
StatusBefore getOperatorEntityStatus(unsigned int nb)
Get the nb-th entity status after the operation.
TrackingOperatorToResult()
void setOperatorEntityAsModified(unsigned int nb)
Mark as Operator_MODIFIED the nb-th entity before the operation.
void setOperatorEntityAsDeleted(unsigned int nb)
Mark as Operator_DELETED the nb-th entity before the operation.