politopix  4.1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TrackingBinaryOperation Class Reference

This class stores static function that dispatch the main geometric values we use. More...

#include <Tracking.h>

Collaboration diagram for TrackingBinaryOperation:
Collaboration graph

Public Member Functions

 TrackingBinaryOperation ()
 
void setNumbersOfEntities (unsigned int nbEntBefore1, unsigned int nbEntBefore2, unsigned int nbEntAfter)
 
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. More...
 
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. More...
 
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 nbOp2-th entity of operator2. More...
 
const std::vector< std::pair
< StatusAfter,
operator1_operator2 > > & 
getResultStatus_Operator1Operator2 () const
 
void setOperator1EntityAsUnchanged (unsigned int nbOp1)
 Mark Operator_UNCHANGED the nbOp1-th entity of operator1. More...
 
void setOperator1EntityAsModified (unsigned int nbOp1)
 Mark Operator_MODIFIED the nbOp1-th entity of operator1. More...
 
void setOperator1EntityAsDeleted (unsigned int nbOp1)
 Mark Operator_DELETED the nbOp1-th entity of operator1. More...
 
void setOperator2EntityAsUnchanged (unsigned int nbOp2)
 Mark Operator_UNCHANGED the nbOp2-th entity of operator2. More...
 
void setOperator2EntityAsModified (unsigned int nbOp2)
 Mark Operator_MODIFIED the nbOp2-th entity of operator2. More...
 
void setOperator2EntityAsDeleted (unsigned int nbOp2)
 Mark Operator_DELETED the nbOp2-th entity of operator2. More...
 
void setResultEntityAsUnchanged (unsigned int nbRes)
 Mark Result_UNCHANGED the nbRes-th entity of the result. More...
 
void setResultEntityAsModified (unsigned int nbRes)
 Mark Result_MODIFIED the nbRes-th entity of the result. More...
 
void setResultEntityAsUnknown (unsigned int nbRes)
 Mark Result_UNKNOWN the nbRes-th entity of the result. More...
 
void setResultEntityAsCreated (unsigned int nbRes)
 Mark Result_CREATED the nbRes-th entity of the result. More...
 

Protected Attributes

std::vector< std::pair
< StatusBefore, int > > 
_operator1
 List of the entities before the given operation with their status and the entity number it is connected to after the operation (if need be). More...
 
std::vector< std::pair
< StatusBefore, int > > 
_operator2
 List of the entities before the given operation with their status and the entity number it is connected to after the operation (if need be). More...
 
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 connected to before the operation (if need be). More...
 

Detailed Description

This class stores static function that dispatch the main geometric values we use.

Definition at line 110 of file Tracking.h.

Constructor & Destructor Documentation

TrackingBinaryOperation::TrackingBinaryOperation ( )
inline

Definition at line 114 of file Tracking.h.

Member Function Documentation

const std::vector< std::pair< StatusAfter, operator1_operator2 > >& TrackingBinaryOperation::getResultStatus_Operator1Operator2 ( ) const
inline

Definition at line 149 of file Tracking.h.

void TrackingBinaryOperation::setNumbersOfEntities ( unsigned int  nbEntBefore1,
unsigned int  nbEntBefore2,
unsigned int  nbEntAfter 
)
inline

Definition at line 116 of file Tracking.h.

void TrackingBinaryOperation::setOperator1_Result ( unsigned int  nbOp1,
int  nbRes 
)
inline

Set the link between the nbOp1-th entity of operator1 and the nbRes-th entity of the result.

Definition at line 137 of file Tracking.h.

void TrackingBinaryOperation::setOperator1EntityAsDeleted ( unsigned int  nbOp1)
inline

Mark Operator_DELETED the nbOp1-th entity of operator1.

Definition at line 158 of file Tracking.h.

void TrackingBinaryOperation::setOperator1EntityAsModified ( unsigned int  nbOp1)
inline

Mark Operator_MODIFIED the nbOp1-th entity of operator1.

Definition at line 155 of file Tracking.h.

void TrackingBinaryOperation::setOperator1EntityAsUnchanged ( unsigned int  nbOp1)
inline

Mark Operator_UNCHANGED the nbOp1-th entity of operator1.

Definition at line 152 of file Tracking.h.

void TrackingBinaryOperation::setOperator2_Result ( unsigned int  nbOp2,
int  nbRes 
)
inline

Set the link between the nbOp2-th entity of operator2 and the nbRes-th entity of the result.

Definition at line 140 of file Tracking.h.

void TrackingBinaryOperation::setOperator2EntityAsDeleted ( unsigned int  nbOp2)
inline

Mark Operator_DELETED the nbOp2-th entity of operator2.

Definition at line 167 of file Tracking.h.

void TrackingBinaryOperation::setOperator2EntityAsModified ( unsigned int  nbOp2)
inline

Mark Operator_MODIFIED the nbOp2-th entity of operator2.

Definition at line 164 of file Tracking.h.

void TrackingBinaryOperation::setOperator2EntityAsUnchanged ( unsigned int  nbOp2)
inline

Mark Operator_UNCHANGED the nbOp2-th entity of operator2.

Definition at line 161 of file Tracking.h.

void TrackingBinaryOperation::setResult_Operator1Operator2 ( unsigned int  nbRes,
int  nbOp1,
int  nbOp2 
)
inline

Set the link between the nbRes-th entity of the result and the nbOp1-th entity of operator1 and the nbOp2-th entity of operator2.

Definition at line 143 of file Tracking.h.

void TrackingBinaryOperation::setResultEntityAsCreated ( unsigned int  nbRes)
inline

Mark Result_CREATED the nbRes-th entity of the result.

Definition at line 179 of file Tracking.h.

void TrackingBinaryOperation::setResultEntityAsModified ( unsigned int  nbRes)
inline

Mark Result_MODIFIED the nbRes-th entity of the result.

Definition at line 173 of file Tracking.h.

void TrackingBinaryOperation::setResultEntityAsUnchanged ( unsigned int  nbRes)
inline

Mark Result_UNCHANGED the nbRes-th entity of the result.

Definition at line 170 of file Tracking.h.

void TrackingBinaryOperation::setResultEntityAsUnknown ( unsigned int  nbRes)
inline

Mark Result_UNKNOWN the nbRes-th entity of the result.

Definition at line 176 of file Tracking.h.

Member Data Documentation

std::vector< std::pair< StatusBefore, int > > TrackingBinaryOperation::_operator1
protected

List of the entities before the given operation with their status and the entity number it is connected to after the operation (if need be).

Definition at line 184 of file Tracking.h.

std::vector< std::pair< StatusBefore, int > > TrackingBinaryOperation::_operator2
protected

List of the entities before the given operation with their status and the entity number it is connected to after the operation (if need be).

Definition at line 186 of file Tracking.h.

std::vector< std::pair< StatusAfter, operator1_operator2 > > TrackingBinaryOperation::_result
protected

List of the entities after the given operation with their status and the entity numbers it is connected to before the operation (if need be).

Definition at line 188 of file Tracking.h.


The documentation for this class was generated from the following file: