Go to the documentation of this file.
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
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 setResultEntityAsUnchanged(unsigned int nb)
Mark as Result_UNCHANGED the nb-th entity before the operation.
This class stores static function that dispatch the main geometric values we use.
void setResultEntityAsUnchanged(unsigned int nbRes)
Mark Result_UNCHANGED the nbRes-th entity of the result.
void setResultEntityAsUnknown(unsigned int nbRes)
Mark Result_UNKNOWN the nbRes-th entity of the result.
StatusBefore getOperatorEntityStatus(unsigned int nb)
Get the nb-th entity status after the operation.
void setNumbersOfEntities(unsigned int nbEntBefore1, unsigned int nbEntBefore2, unsigned int nbEntAfter)
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 setOperatorEntityAsDeleted(unsigned int nb)
Mark as Operator_DELETED the nb-th entity before the operation.
TrackingBinaryOperation()
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::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)
void setOperator1EntityAsModified(unsigned int nbOp1)
Mark Operator_MODIFIED the nbOp1-th entity of operator1.
const std::vector< std::pair< StatusBefore, int > > & getOperatorToResult() const
void setResultEntityAsModified(unsigned int nbRes)
Mark Result_MODIFIED the nbRes-th entity of the result.
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.
void setOperator2EntityAsModified(unsigned int nbOp2)
Mark Operator_MODIFIED the nbOp2-th entity of operator2.
void setResultEntityAsCreated(unsigned int nb)
Mark as Result_CREATED the nb-th entity after the operation.
void setOperatorEntityAsUnchanged(unsigned int nb)
Mark as Operator_UNCHANGED the nb-th entity before the operation.
const std::vector< std::pair< StatusAfter, operator1_operator2 > > & getResultStatus_Operator1Operator2() const
void setResultEntityAsUnknown(unsigned int nb)
Mark as Result_UNKNOWN the nb-th entity after the operation.
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 setOperator2EntityAsUnchanged(unsigned int nbOp2)
Mark Operator_UNCHANGED the nbOp2-th entity of 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...
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 setOperator1EntityAsUnchanged(unsigned int nbOp1)
Mark Operator_UNCHANGED the nbOp1-th entity of operator1.
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 setOperatorEntityAsModified(unsigned int nb)
Mark as Operator_MODIFIED the nb-th entity before the operation.
TrackingOperatorToResult()
std::pair< int, int > operator1_operator2
void setOperator2EntityAsDeleted(unsigned int nbOp2)
Mark Operator_DELETED the nbOp2-th entity of operator2.
void setResultEntityAsModified(unsigned int nb)
Mark as Result_MODIFIED the nb-th entity after the operation.
const std::vector< std::pair< StatusAfter, int > > & getResultToOperator() const
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 setOperator1EntityAsDeleted(unsigned int nbOp1)
Mark Operator_DELETED the nbOp1-th entity of operator1.
void setResultEntityAsCreated(unsigned int nbRes)
Mark Result_CREATED the nbRes-th entity of the result.
This class stores static function that dispatch the main geometric values we use.
StatusAfter getResultEntityStatus(unsigned int nb)
Get the nb-th entity status after the operation.