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

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

#include <Tracking.h>

Collaboration diagram for TrackingOperatorToResult:
Collaboration graph

Public Member Functions

 TrackingOperatorToResult ()
 
void setNumbersOfEntities (unsigned int nbEntBefore, unsigned int nbEntAfter)
 
void setOperatorEntityAsUnchanged (unsigned int nb)
 Mark as Operator_UNCHANGED the nb-th entity before the operation. More...
 
void setOperatorEntityAsModified (unsigned int nb)
 Mark as Operator_MODIFIED the nb-th entity before the operation. More...
 
void setOperatorEntityAsDeleted (unsigned int nb)
 Mark as Operator_DELETED the nb-th entity before the operation. More...
 
void setResultEntityAsUnchanged (unsigned int nb)
 Mark as Result_UNCHANGED the nb-th entity before the operation. More...
 
void setResultEntityAsModified (unsigned int nb)
 Mark as Result_MODIFIED the nb-th entity after the operation. More...
 
void setResultEntityAsUnknown (unsigned int nb)
 Mark as Result_UNKNOWN the nb-th entity after the operation. More...
 
void setResultEntityAsCreated (unsigned int nb)
 Mark as Result_CREATED the nb-th entity after the operation. More...
 
StatusAfter getResultEntityStatus (unsigned int nb)
 Get the nb-th entity status after the operation. More...
 
StatusBefore getOperatorEntityStatus (unsigned int nb)
 Get the nb-th entity status after the operation. More...
 
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. More...
 
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. More...
 
const std::vector< std::pair
< StatusBefore, int > > & 
getOperatorToResult () const
 
const std::vector< std::pair
< StatusAfter, int > > & 
getResultToOperator () const
 

Protected Attributes

std::vector< std::pair
< StatusBefore, int > > 
_operator
 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, int > > 
_result
 List of the entities after the given operation with their status and the entity number 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 41 of file Tracking.h.

Constructor & Destructor Documentation

TrackingOperatorToResult::TrackingOperatorToResult ( )
inline

Definition at line 45 of file Tracking.h.

Member Function Documentation

StatusBefore TrackingOperatorToResult::getOperatorEntityStatus ( unsigned int  nb)
inline

Get the nb-th entity status after the operation.

Definition at line 82 of file Tracking.h.

const std::vector< std::pair< StatusBefore, int > >& TrackingOperatorToResult::getOperatorToResult ( ) const
inline

Definition at line 92 of file Tracking.h.

StatusAfter TrackingOperatorToResult::getResultEntityStatus ( unsigned int  nb)
inline

Get the nb-th entity status after the operation.

Definition at line 79 of file Tracking.h.

const std::vector< std::pair< StatusAfter, int > >& TrackingOperatorToResult::getResultToOperator ( ) const
inline

Definition at line 95 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setNumbersOfEntities ( unsigned int  nbEntBefore,
unsigned int  nbEntAfter 
)
inline

Definition at line 47 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setOperator_Result ( unsigned int  nb,
int  nbRes 
)
inline

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

Definition at line 86 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setOperatorEntityAsDeleted ( unsigned int  nb)
inline

Mark as Operator_DELETED the nb-th entity before the operation.

Definition at line 64 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setOperatorEntityAsModified ( unsigned int  nb)
inline

Mark as Operator_MODIFIED the nb-th entity before the operation.

Definition at line 61 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setOperatorEntityAsUnchanged ( unsigned int  nb)
inline

Mark as Operator_UNCHANGED the nb-th entity before the operation.

Definition at line 58 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setResult_Operator ( unsigned int  nbRes,
int  nb 
)
inline

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

Definition at line 89 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setResultEntityAsCreated ( unsigned int  nb)
inline

Mark as Result_CREATED the nb-th entity after the operation.

Definition at line 76 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setResultEntityAsModified ( unsigned int  nb)
inline

Mark as Result_MODIFIED the nb-th entity after the operation.

Definition at line 70 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setResultEntityAsUnchanged ( unsigned int  nb)
inline

Mark as Result_UNCHANGED the nb-th entity before the operation.

Definition at line 67 of file Tracking.h.

Here is the caller graph for this function:

void TrackingOperatorToResult::setResultEntityAsUnknown ( unsigned int  nb)
inline

Mark as Result_UNKNOWN the nb-th entity after the operation.

Definition at line 73 of file Tracking.h.

Member Data Documentation

std::vector< std::pair< StatusBefore, int > > TrackingOperatorToResult::_operator
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 100 of file Tracking.h.

std::vector< std::pair< StatusAfter, int > > TrackingOperatorToResult::_result
protected

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

Definition at line 102 of file Tracking.h.


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